Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deployment error in Windows Phone 8.1 app with capability Shared User Certificates in manifest

If i check the capability "Shared Used Certificates" in the Windows Phone 8.1 application manifest i get the following error:

Error : DEP0001 : Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6)

Manifest

<Capability Name="sharedUserCertificates" />

I am trying to deploy to a Nokia Lumia Icon with Windows Phone 8.1 developer preview.

Any idea what i am doing wrong or what prereq is not met?

like image 900
magnus Avatar asked Apr 26 '14 06:04

magnus


2 Answers

I was able to deploy my app to the emulator, but not to a real device. I got the same error. I asked my contacts at the Phone Team and they said this is a bug and will be fixed with the post RTM updates. It should definitely be possible to sideload apps using the 'sharedUserCertificates' to real devices for normal app developers.

Getting such an app deployed through the Store may be restricted, though. This scenario is primarily meant for enterprise apps, deployed within enterprises.

I wrote a blog post about this.

like image 141
LeonZandman Avatar answered Oct 10 '22 14:10

LeonZandman


If I set my phone to install apps to the phone it works just fine. If I switch it back then I get the error.

It has something to do with SD cards!! Not the SD cards per-se , but the mech The only thing different was I installed a new SD card this weekend to my Lumia 1520 with Developer Unlock. I am running VS 2013 Update 4 and have a StandAlone Phone application using a Windows 8.1 shared app class. It was working before and now its not. same error as MAGNUS

With save apps to SD CARD setting in storage sense set If you use verbose build output it eventually says:

2>Follow the phone setting 2>Phone setting says apps to be installed to SD card 2>layout root folder: D:\WPSystem\SharedData\PhoneTools\AppxLayouts

With save apps to PHONE card setting in storage sense If you use verbose build output it eventually says:

2>Follow the phone setting 2>Phone setting says apps to be installed to internal storage 2>layout root folder: C:\Data\SharedData\PhoneTools\AppxLayouts

search your Detailed or "verbose" build output for the term "Phone setting says" That will get you close. Good luck.

like image 28
Matt Vandergrift Avatar answered Oct 10 '22 15:10

Matt Vandergrift