Microsoft store upload "Item with the same key has already been added"

Thomas O 1 Reputation point
2021-05-29T02:14:11.23+00:00

I'm attempting to upload an app to the Microsoft store. It is a UWP app built from Visual Studio using the methods described in the official documentation.

When I try to upload the file, I get the error:

Package acceptance validation error: We encountered a fatal error while parsing the package AlgebraCalculatorPreRelease_0.0.0.0_x86.msix: An item with the same key has already been added. Try again or upload a new package.

I have tried rebuilding the project and creating a new submission. I have also run the msix package through the Windows App Certification program (and passed), and the msix installer works fine.

I'm using Windows 10 10.0.19042 and Visual Studio 2019.

Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
990 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Li - MSFT 33,266 Reputation points Microsoft Vendor
    2021-05-31T01:38:38.847+00:00

    Hello,

    Welcome to Microsoft Q&A!

    Please do not use 0.0.0.0 as your app's version number. Please consider changing the version number to 1.0.0.0 or 0.1.0.0 or other numbers.

    Thank you.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.