I'm packaging a UWP App and a regular Desktop App together. When I deploy the Windows Application Packaging Project, it seems to install both the UWP app alone and the packaged version so I end up with two versions of app installed. So is it safe to remove the package.appxmanifest file from the UWP project?
EDIT:
So it isn't possible to remove the package.appxmanifest file. However, is it possible to prevent my UWP app from building twice when I click Deploy on the packaging project?
CodePudding user response:
So is it safe to remove the package.appxmanifest file from the UWP project?
I'm afraid you can't remove package.appxmanifest file from the UWP project, it will throw exception for uwp side. Every app package must include one package manifest.
Project must have either AppxManifest item or Content item with name 'AppxManifest.xml'. UWPCore
For more detail please refer to App package manifest document.