Reputation: 87
It was working fine a few hours ago , then I shut down my computer. Now when I re-open visual studio and build my solution again, I get this error :
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.BuildSteps.Targets(173,5): error MSB3061: Unable to delete file "x64\Debug\GEnx11.tlog\GEnx11.lastbuildstate". Access to the path 'G:\VS2015_PROJECTS\Projects\GEnx11\GEnx11\x64\Debug\GEnx11.tlog\GEnx11.lastbuildstate' is denied.
Please Help...Thanks..!!!
Upvotes: 1
Views: 1542
Reputation: 1740
start Visual Studio as an administrator. may be this could help you.
Upvotes: 2