none
[UWP][C#] Is there a way to switch Package.appxmanifest automatically for sideloading RRS feed

  • Question

  • We need to create two types of packages:

    1. For sideloading using our own code signing certificate, hence the corresponding publisher.
    2. For Microsoft Store using the required auto-generated certificate and publisher name (a GUID). 

    It is tedious to modify Package.appxmanifest every time when a new version is published.  We update the app frequently. 

    Is there a way to switch Package.appxmanifest, or even better, switch the certificate and publisher name automatically for sideloading package creation? 


    Hong

    Wednesday, November 6, 2019 10:16 PM

Answers

  • Hi Hong,

    >Is there a way to switch Package.appxmanifest, or even better, switch the certificate and publisher name automatically for sideloading package creation? 

    Identity which include the publisher and certificate info defines a globally unique identifier for a package and every app package must include one package manifest.So there seems no way to switch the certificate and publisher name automatically for package.

    Best regards

    Daisy  Tian


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, November 7, 2019 7:49 AM
    Moderator

All replies

  • Hi ,

    Since the problem is more related to publishing apps, I'll help you to move this thread to the Publishing Windows Store App Forum. You could get more professional support about publishing apps.

    Thank you for your patience.

    Best regards,

    Roy


    "Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
    We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
    For more information, please refer to the sticky post.

    Thursday, November 7, 2019 1:08 AM
  • Hi Hong,

    >Is there a way to switch Package.appxmanifest, or even better, switch the certificate and publisher name automatically for sideloading package creation? 

    Identity which include the publisher and certificate info defines a globally unique identifier for a package and every app package must include one package manifest.So there seems no way to switch the certificate and publisher name automatically for package.

    Best regards

    Daisy  Tian


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, November 7, 2019 7:49 AM
    Moderator
  • Thank you for the clarification, Daisy.

    Hong

    Thursday, November 7, 2019 1:34 PM