Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows 10 UWP Application - Error whilst creating package

I currently have a windows phone 8.1 application in the store and have decided to upgrade it to windows 10 UWP. I've created a new version of the app from scratch using VS 2015 3 RC and used the options in the project menu to associate the app with one already on my account.

When I do this the appxmanifest file is updated with the wrong PublisherDisplayName - instead of my name it's coming up with Microsoft account. If I build the package with this name it all completes without error however if I change to to what is on my developer account then I get the following error

The PublisherDisplayName element of the Properties element in the app manifest must have the value of the Publisher display name value from your developer account: Microsoft account

I've tried logging out/in on my developer account, repairing VS, reinstalling VS etc. confirmed my developer account has the correct name but still the problem occurs.

Any suggestions right now would be most welcome!

like image 382
SimonT Avatar asked Jun 23 '16 20:06

SimonT


1 Answers

I was having the same issue, I believe it's because the Package.StoreAssociation.xml doesn't download/build correctly, and then if you change your publisher name in the Package.appmanifest then the two don't align.

To fix this, make sure that the

<PublisherDisplayName></PublisherDisplayName>

element in the Package.StoreAssociation.xml file (usually found in the root of your project) is set to the same as the

Dev centre -> Account Settings -> Public info -> Publisher display name

which is also set to the same as your "publisher display name" in your

package.appmanifest -> Packaging tab.

This should resolve your problem.

like image 122
Hoss Avatar answered Nov 15 '22 07:11

Hoss