Error: DEP0001, HRESULT: 0x80073CF9 when deploying UWP app to Phone

3

Despite the alike existing threads here on SO, my problem is somehow different,

I have an application that I made, I deploy it, works fine. I copy the same application solution, make some changes on it to create an other application that have almost the same logic as the first one (can't re-code everything from scratch), deploy it, and I receive this :

Severity Code Description Project File Line Suppression State Error Error : DEP0001 : Unexpected Error: Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) MyApplication

I believe this is cause by the fact that the system is identifying it as an application that was already deployed, I tried to delete any prints left by the first solution, deleted the content of the bin and the obj folders, but didn't help.

Please what's the solution for this problem

visual-studio-2015
windows-phone
win-universal-app
windows-10-universal
asked on Stack Overflow Mar 19, 2016 by AymenDaoudi

1 Answer

6

In Windows 10 you cannot have two apps with the same Name and/or PhoneProductId. In case you need to duplicate the app you will need to edit the packageappx.manifest file of one of them. You need to edit the code - right click on the manifest file, choose View code and edit mentioned data:

<Identity Name="LittleChangeinName" Publisher="CN=something" Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="082abc73-hereAlsoLittleChange-ea7ea4735fbd" PhonePublisherId="any GUID here" />

Remember that each of this apps has its own LocalData folder (LocalSettins and other data also).

answered on Stack Overflow Mar 19, 2016 by Romasz

User contributions licensed under CC BY-SA 3.0