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?
Here is what you’re probably looking for. Seems like you have two options – either re-create the solution file or use Process Explorer to close existing handles to the locked path.