Matin B.
Matin B.

Reputation: 405

Exporting an Universal Windows App as an EXE file in Visual Studio 2019

I have written a program using Visual Studio 2019 ( Universal Windows Project ) and I want to export it as a MS Windows executable file. I searched it once, but I couldn't find any answer to do that. If anyone knows how to do that, please reply me. Thanks

Upvotes: 0

Views: 1952

Answers (1)

magicandre1981
magicandre1981

Reputation: 28836

To install the App on other Windows 10 devices, you need to create an AppX installer package.

Select the UWP app in solution explorer, Right-click the project and choose Publish->Create App Packages (before Visual Studio 2019 version 16.3, the Publish menu is named Store).

enter image description here

Now check Sideloading:

enter image description here

On the target device, install the generated certificate and make a double click on the appx file to install the app.

Upvotes: 1

Related Questions