Deploying universal application results in “packag

2019-01-15 18:18发布

We recently upgraded to the new Visual Studio and subsequently Windows Phone 8.1 preview. However when trying to deploy to the device or Windows Phone emulators(any of them), we get this error(0x80073CF6).

Proof of error

My phone is already developer unlocked. We have been successful in deploying it and running the application once, but now for some undetermined reason, it has stopped allowing us to do this.

I am willing to provide any more information if I can.

9条回答
何必那么认真
2楼-- · 2019-01-15 19:07

For future reference: I have encountered this error a few times and it was a combination of missing icons (which you can figure out somehow), but also:

the pipe-character "|" in the app name.

It is completely legal reserve the name, and your manifest won't complain about it, but I have seen that removing this will help in solving this issue.

查看更多
做个烂人
3楼-- · 2019-01-15 19:10

There's also a possibility that the GUIDs listed in your Package.appxmanifest file don't match the ones in WMAppManifest.xml.

I had to do some changes to the first one before publishing a beta version of my app to the store and didn't update the second. Specifically

  • PhonePublisherId should match PublisherID
  • PhoneProductId should match ProductID
查看更多
我想做一个坏孩纸
4楼-- · 2019-01-15 19:11

May be you are missing icon image in your manifest file. Please look at this.

查看更多
贪生不怕死
5楼-- · 2019-01-15 19:12

You might have checked "Shared User Certificates" in your manifest, remove it and it works.

查看更多
Bombasti
6楼-- · 2019-01-15 19:12

In my case, I needed to reset my phone for it to work.

The Deployment did always work on the emulators, but not on my phone. I've had my Application already installed from the store, as I've started to Deploy. My guess is, that the version from the store somehow did not uninstall correctly.

(I'm posting this here, because it is the first result on google)

查看更多
别忘想泡老子
7楼-- · 2019-01-15 19:13

In my case it was incorrect XML file with duplicated header:

<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8" ?>
<WindowsPhoneReservedAppInfo ... />
查看更多
登录 后发表回答