Tesla
Tesla

Reputation: 87

Unable to Build or clean Visual Studio 2015 Solution (Access Denied)

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

Answers (1)

kritikaTalwar
kritikaTalwar

Reputation: 1740

start Visual Studio as an administrator. may be this could help you.

Upvotes: 2

Related Questions