- Build the application as usual within Unity.
- In the Visual Studio project, right-click the project in the Solution Explorer and select
Publish -> Create App Packages...
- In the app package window, select
Sideloading
, uncheck theEnable automatic updates
box, and clickNext
.
- Ensure the app certificate is signed and click
Next
. The default certificate settings are OK.
- Choose the app's output location and ensure the ARM64 architecture is selected (the other architectures can be deselected). Click
Create
to create the package.
Follow the installation steps from the Windows Device Portal Documentation.
Select the .msix file in the ARM64 folder in the app package created previously.
Note you will need to remove any previously installed apps of the same name. This can be done in the device portal Apps view by selecting the app in the Installed apps window and clicking Remove
.