Error : DEP0700 : Registration of the app failed.

2020-07-09 02:42发布

问题:

I am using visual studio 2013 to create a window 8.1 store app. When I run simulator. I received error message "Error : DEP0700 : Registration of the app failed. error 0x80070002: Windows cannot register the package because of an internal error or low memory. (0x80073cf6) App1". I have try reinstall it, but still have this error. How do solve it?

回答1:

problem is "visual studio is not able to delete the application data in local folder" so when you go in the location C:\Users\UserName\AppData\Local\Packages you will find application data of app installed in your computer now you need to find your app's applicaion data and delete the folder. folder name is same as the package family name which you can see in your solution. now again open the solution and rebuild and your app will run. ^_^ Note -> 1. close visual studio and simulator before deleting the folder. 2. make sure that your account is set as administrator.



回答2:

I solved this when I realized my development path was to long, also I disabled my anti virus for the first that I ran the app. This seemed to fix my problem.



回答3:

I faced the similar problem while developing in VS 2015 Its simple, you just have to do is go to: Build --> Clean Solution and then Build --> Rebuild Solution. That should solve this error.