Skip to content Skip to sidebar Skip to footer

Change Settings In The Appxmanifest For Differnt Solution Configuration (UWP Project)

I have JavaScript hosted UWP project with package.appxmanifest. Manifest has setting StartPage, I would like to change it based on testing/production build (they should point to th

Solution 1:

The way I've got around this in projects is to create the additional build configurations for the solution using the Configuration Manager (right-click solution -> Configuration Manager) and then make a copy of the AppxManifest, manipulate the values you want for the various build configurations and give the files names that relate to them, i.e Package.Test.xml.

You'll then want to setup your Build Events for the app project (right-click project -> Properties) to copy the file during a Pre-build like this:

Pre-build events


Post a Comment for "Change Settings In The Appxmanifest For Differnt Solution Configuration (UWP Project)"