The environment is Visual Studio 2017, and the Windows Universal Development Module has been installed. Official website (https://docs.microsoft.com/zh-cn/windows/uwp/porting/desktop-to-uwp-packaging-dot-net) This introduction is very detailed, so I tried it out. A
If you want to switch to C++ or C# project, it is easier to use the latest version of VS.
As shown in the figure, after creating the project, directly add the startup project of the original project as a reference to the project. The same goes for C++ projects.
Unfortunately, the object of the experiment I took was QQ, so according to MS, a new JS blank application (it is said that several other effects are not good).
Then drag the QQ folder directly to the "Solution Manager" tab in the QQ installation path, and VS will automatically copy all the files. In Solution Explorer, expand the packaged project, right-click the package.appxmanifest file, and select View Code. Then follow the official tutorial to add the code that needs to be added to the XML file to the corresponding location.
Finally, select "Project" -> "App Store" -> "Create Application Package", because it is just a QQ experiment, so "Whether to generate a package to be uploaded to the App Store" is selected. Selecting Yes requires a developer account, and QQ is not developed or distributed by me, so I can't choose "Yes". Next, select Neutral for the architecture and create it. After the creation is complete, there will be a verification link, which is completed automatically, without need to say more. After the verification is complete, open the package export address, you can see a folder and three files. appxbundle is a bundle, cer is a digital certificate, and ps1 is a Power Shell installer. Right-click to select the ps1 file and select Execute in Power Shell to complete the installation. So I got the desktop version of UWP QQ, there is no difference between the user experience and the desktop version.
[This article is for experience only, please do not convert other people's desktop software to UWP and go online or spread it widely! 】
In the case of opening VPN, Windows self-contained applications such as mailboxes are not properly applicable, which is derived from networking restrictions on UWP applications. Solution 1. Open Power...
UWP applications are mostly one window to complete all the business, in fact, I also recommend using this single window method. However, there are always some special cases where we need to use more t...
title author date CreateTime categories How to publish applications in the domestic UWP lindexi 2019-11-25 15:46:42 +0800 2019-02-17 10:51:58 +0800 UWP Developers in the country, I believe have experi...
See a small partner asked on StackOverflowCoreApplication, CoreApplicationView, Application, ApplicationView, CoreWindow, Window Their meanings and the differences between them. So I put together this...
Solve the problem of wrongly deleted and expired certificates in the uwp development process In the UWP application development process, if the certificate expires or is deleted, after my experiment, ...
Microsoft is an out-and-out loser in the mobile phone industry. Although Windows Phone was once hailed as the most competitive platform besides Android and iOS, it is now basically dead in name. Howev...
The ancient Win32 application is too convenient to start other programs, so that some developers no longer remember that Windows can pass the associated protocol (seeDesktop Application Association Ag...
Problem and solution Solution: Method 1 Query Registration SID Method 2 Registry Query Program Package Onenote problem I am used to using OneNote to record some questions and record, and I have recent...
PowerShell solution Set proxy separately for all UWP applications Start PowerShell (Win+X Press A) as an administrator and run the following commands:...