Visual Studio shows the following error when I execute my Windows Store or Universal project:
Error 1 Error : DEP0700 : Registration of the app failed. Another user has already installed an unpackaged version of this app. The current user cannot replace this with a packaged version. The conflicting package is dff9bf13-e639-46ad-a6ed-61b27be58eed and it was published by CN=owais. (0x80073cf9) tiles
You probably are trying to install an app on your machine that already has been installed. Maybe you installed it once during development and are now trying to install it from either another account or using a different deployment method.
There are several ways to fix this.
Best way: Remove the installed application, e.g. using Powershell Remove-AppxPackage
and specify the package, then try to reinstall.
Another way: Change the package name in the Package.appxmanifest of the app you're trying to install, compile it and install it again.
Example:
<Package ...>
<Identity Name="5a0c511a-fdfd-4417-80b8-2bedbf437971" ...>
change to:
<Package ...>
<Identity Name="5a0c511a-fdfd-4417-80b8-SomethingElse" ...>
Use the Powershell command Remove-AppxPackage
to remove the old package. If the package was installed by a different user, run as admin and use the -AllUsers
switch. Find the package full name from the package name with Get-AppxPackage
.
For example, if the package is Contoso.ZiplineSimulator
, use this command to find it:
Get-AppxPackage -AllUsers Contoso.ZiplineSimulator
Then remove the package with whatever PackageFullName
is displayed, something like this:
Remove-AppxPackage -AllUsers Contoso.ZiplineSimulator_1.53.2912.0_x64__8wekyb3d8bbwe
1- Find the package full name from the package name with:
Get-AppxPackage -AllUser
2- Copy the packagefullname to clipboard so you can use it later. 3- use this command as it, and don't forget to replace the packagefullname with one in your clipboard;
Get-AppxPackage packagefullname -AllUsers|Remove-AppxPackage -AllUsers
// Don't forget the -AllUsers ... then You are Done..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With