question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update Universal Windows Platform "Package.appxmanifest" Version

See original GitHub issue

What 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:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
gep13commented, Sep 2, 2016

@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.

0reactions
gep13commented, Sep 6, 2016

@dachibox nice one! Glad to hear that you got it working! 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found