Update Universal Windows Platform "Package.appxmanifest" Version
See original GitHub issueWhat You Are Seeing?
I want to update the version of the Package.appxmanifest. Is there any better way?
Are you running on a 32 or 64 bit system?
64 bit system
What environment are you running on? Windows? Linux? Mac?
Windows
How Did You Get This To Happen? (Steps to Reproduce)
Task("Update-Manifest")
.Does(() =>
{
var fileManifest = "../ABCD/Package.appxmanifest";
Information(fileManifest);
XmlPokeString(fileManifest, "/Package/Identity/@Version", informationalVersion, new XmlPokeSettings {
Namespaces = new Dictionary<string, string> {
{ /* Prefix */ "mp", /* URI */ "http://schemas.microsoft.com/appx/2014/phone/manifest" },
{ /* Prefix */ "uap", /* URI */ "http://schemas.microsoft.com/appx/manifest/uap/windows10" }
}
});
});
Output Log
An error occured when executing task ‘Update-Manifest’. Error: Los datos del nivel de raíz no son válidos. línea 1, posición 1.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How Visual Studio generates an app package manifest
This is the final version of the app package manifest used with published and sideloaded apps. If any updates are made to the...
Read more >Change Version in Package.appxmanifest in Xamarin UWP
The version of the app being built. This is typically incremented each time the app is has been modified and packaged. To ensure...
Read more >App package manifest - Windows UWP applications
The package manifest is an XML document that contains the info the system needs to deploy, display, or update a Windows app.
Read more >Choose a UWP version - UWP applications
Choose which version to use for your app In the New Universal Windows Project dialog in Visual Studio, you can choose a version...
Read more >Automatically Incrementing the Package.appxmanifest ...
When submitting a UWP or WinRT app to the Windows Store, you must increase the Version number of the package or the submission...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dachibox can you help with a translation of
Los datos del nivel de raíz no son válidos. línea 1, posición 1.
😄Recently, when it has come to updating files like that, I have been using:
https://github.com/sergeyzwezdin/magic-chunks
Which has a Cake Alias that you can use. You might want to give that a try.
@dachibox nice one! Glad to hear that you got it working! 😄