DEP0600 Error when deploying UWP project

2019-05-10 18:49发布

问题:

After Visual Studio (Community 2015 Update 3) crashed on deploying a UWP project with a bluescreen (Unexpected Store Exception, this has happened before), i can not deploy any projects anymore. I tried with the project VS crashed on, previous versions of that project as well as completely empty new projects.

The error message is the following:

DEP0600 : The following unexpected error occurred during deployment:

'.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.

Repairing Visual Studio made no difference.

I can not locate the problem, but assume something was corrupted during the crash. Would a complete reinstall of VS do more than just a repair here? Does this maybe even require more drastic steps?

Thanks,

Reinhold

回答1:

Had same exact error and symptoms deploying to local machine after Windows Crash. Repair/Reinstall of VS did not help. Even system restore could not fix the problem.

For me I had to delete AppData/Local/Microsoft/VisualStudio folder for VS to rebuilt the necessary files.



回答2:

I had this problem too, I uninstalled all my UWP applications from All Settings -> Apps & features. it solved my problem I just uninstalled UWP applications that I( myself) deployed.



回答3:

Deploy has passed after renamed all project folders.

  1. Rename all project folders.

  2. Create a new uwp project. Try to run it.

  3. Move old projects from the renamed project folders to created by VS with trying run the uwp project after each time.

But projects with DEP0600 error I recreated and moved all files back into new project.



回答4:

I know it's an older thread - I encountered this just today with a UWP project/solution, I was getting the above deployment error in Dev. I R-click/uninstalled the existing package from the Start Menu and was good to go. Perhaps the package was in an unrecoverable or corrupted state.



回答5:

While working on a UWP app for Raspberry Pi 2 I experienced a similar DEP0600 error. Things like restarting Visual Studio or removing temp files didn't work.

It was only after I simply rebooted my Pi I was able to deploy again



回答6:

Just moving the "Projects" folder from Documents\Visual Studio 2015 to some other place solved my problem.



回答7:

I got this error deploying to an xbox - uninstalling the app from dev home on the xbox dashboard fixed it.