Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Receiving access denied error from Visual Studio when trying to change target framework

The error reads,

TargetFrameworkMoniker: An error occurred saving the project file 'yadayada.csproj'. Access is denied.

I'm trying to switch from .net 3.5 to .net 4.0 or higher.

The project is hooked into TFS in Visual Studio 2010 (also tried VS 2013, same error). I'm in a VM environment.

Any clues about this error? Google returns very little information. It seems like I have proper access to the file, but how is VS accessing it?

like image 404
ferr Avatar asked Mar 19 '14 14:03

ferr


1 Answers

I have found that if you get the error, hit save, close visual studio and reopen the project you will find that 86.5% of the time the setting was changed.

like image 102
Jake1164 Avatar answered Oct 07 '22 09:10

Jake1164