Unity packages and releases UWP ultra-detailed

What platform is UWP? What is the difference with the PC platform?

Universal Windows Platform ( UWP ) literally translates to Universal Windows Platform, which is a general platform developed by Microsoft based on Win10. Microsoft hopes that all its devices (including Surface, Xbox, HoloLens, etc.) will run on the same system, and then let users like Use Apple devices to download and install applications from their own official mall, which can centralize the application market and ensure the security, stability and efficiency of the system. So PCs can run UWP platform applications, but UWP applications can not only run on PCs, open the WindowsStore that comes with Win10, and the applications in it are all UWP applications.

 

UWP environment configuration

You can refer to the HoloLens2 environment configuration I wrote before , the effect is the same. Click to jump

You can refer to this article during the release process, and it will be updated for a long time, which lists common problems. Click to jump

 

operating environment

Win10 Pro VS: 2019 Unity 2019.4.4f1 

 

Publish Tutorial

1. Create a new scene, add a Cube at random, and set the position to zero

2.File---Build Settings switch to UWP platform, the parameters shown in the figure, pay attention to the Build configuration

3. Open the Player Setting settings, set the package name, company name, Icon, nothing special

4. Build (it is recommended that the folder name be in English), you will get a file ending with .sln, open it with VS2019

5. Find "Solution Explorer"---project name---right click---publish---create application package

6. Next step 

7. yes

8. Select the publishing platform and solution configuration mapping, here select the solution configuration selected when Unity is released

9. Wait for the publish to complete

10. Open the project generation location --- AppPackages --- project name --- project name ----- right-click Install to run with PowerShell, with the progress bar full, and those who need permissions throughout the process will give

11. After the installation is complete, you can find the newly installed item in the start menu

If you have any questions, please leave a comment or add a penguin exchange group: 689418255 to ask questions, note CSDN, private messages may not be seen in time.

If you think it is useful, click the three-link support, welcome to reward!

Guess you like

Origin blog.csdn.net/li1214661543/article/details/112599299
UWP