Hello,
Welcome to Microsoft Q&A!
In the packaged mode
, you need to package your app via MISX. And you can only get an .msix file
not a .exe file
.
If you want to double click on the exe to launch the application, it can be done in unpackaged mode
. You just need to add the lines to your *.csproj .
<PropertyGroup>
...
<WindowsPackageType>None</WindowsPackageType>
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
</PropertyGroup>
Thank you.
Jeanine
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.