Skip to content

How to publish the UWP app package with release version? #3350

Discussion options

You must be logged in to vote

@KanniyappanP You will need to update the Package.appxmanifest file for this.

var update = new Dictionary<string, string> {
    { "c:Package/c:Identity/@Version", "1.18.0.0" },
};

var manifest = File("./src/MyApp/Package.appxmanifest");
foreach(var item in update) {
    XmlPoke(manifest, item.Key, item.Value,
    new XmlPokeSettings {
        Namespaces = {
            { "c", "http://schemas.microsoft.com/appx/manifest/foundation/windows10" },
            { "uap", "http://schemas.microsoft.com/appx/manifest/uap/windows10" },
            { "uap5", "http://schemas.microsoft.com/appx/manifest/uap/windows10/5" },
        }
});
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KanniyappanP
Comment options

Answer selected by patriksvensson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants