locked
Win8.1 App Error: The package or bundle is not digitally signed or its signature is corrupted

    Question

  • Hi,

    I have create the app package on VS2013 Express for windows. I copy the file into the Win8 PC.  I deploy as usual by right click the app.package and run it by power shell. This time, I got the above error.  How to solve it?

    Thanks

    Tuesday, September 16, 2014 9:41 AM

Answers

  • In package.appxmanifest, go to Packaging -> click on "Choose Certificate" and you'll see a dialog box like shown below. Click on "configure certificate" -> "Create test certificate" and fill in the information requested.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Wednesday, September 17, 2014 2:59 PM
    Moderator

All replies

  • You should try a rebuild of the app.  If that does not work, then you might try deleting the certificate and generating a new one for the app, then rebuild and recreate the appx package.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.


    Tuesday, September 16, 2014 12:16 PM
    Moderator
  • Hi,

    Where and how to delete the certificate? The app will regenerate the certificate after deleting it and rebuild the app?

    Thanks.

    Wednesday, September 17, 2014 12:56 AM
  • In package.appxmanifest, go to Packaging -> click on "Choose Certificate" and you'll see a dialog box like shown below. Click on "configure certificate" -> "Create test certificate" and fill in the information requested.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Wednesday, September 17, 2014 2:59 PM
    Moderator