Answered by:
[UWP][C#] Is there a way to switch Package.appxmanifest automatically for sideloading

Question
-
We need to create two types of packages:
- For sideloading using our own code signing certificate, hence the corresponding publisher.
- 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
- Moved by Roy LiMicrosoft contingent staff Thursday, November 7, 2019 1:06 AM move
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.- Edited by Daisy TianMicrosoft contingent staff, Moderator Thursday, November 7, 2019 7:49 AM
- Marked as answer by Hong (MA, USA) Thursday, November 7, 2019 1:34 PM
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. -
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.- Edited by Daisy TianMicrosoft contingent staff, Moderator Thursday, November 7, 2019 7:49 AM
- Marked as answer by Hong (MA, USA) Thursday, November 7, 2019 1:34 PM
-