Reputation: 7003
When I compile I often get the following error:
Error 28
Error : DEP0500 : The folder "C:\Code\Cloud\SolutionFolder\ProjectFolder\bin\Debug\AppX" could not be deleted.
Access to the path 'C:\Code\Cloud\SolutionFolder\ProjectFolder\bin\Debug\AppX\ControlsProject.Controls\Themes' is denied.
If I close down Visual Studio (2012 RC) I can delete the folder and recompile so I'm assuming VS is locking the file for some reason. Has anyone else experienced this? Has anyone found a fix?
Upvotes: 2
Views: 1173
Reputation: 3101
I'm handling this problem using LockHunter.
After unlocking AppX go back to Visual Studio and compile/run the project.
Upvotes: 0
Reputation: 4847
Here's another option that worked for me - reset your VS settings.
Upvotes: 0