Showing posts with label DEP0700. Show all posts
Showing posts with label DEP0700. Show all posts

Monday, April 15, 2019

Visual Studio UWP Deployment Error DEP0700 because of staged packages

Developing UWP apps with Visual Studio  I sometimes run into a problem to debug/deploy the app on the local machine getting the error code DEP0700.

One reason I found out causing this are "staged" packages. This happens, if the same app package is installed by another user account or installed from Visual Studio but reset from Windows App Settings.

How-I-fixed-It:

1. Get psexec tool from https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
2. Run psexec -s powershell -c "get-appxpackage | remove-appxpackage" within a admin commandline box

I found the information here:
https://stackoverflow.com/questions/13865930/how-to-uninstall-an-app-that-another-user-installed