Search This Blog

February 12, 2014

Fixed the issue : The C# Project is targeting .NET Framework, version=v4.5, which is not installed on this machine.

Today I logged in to Windows Server 2008 R2 and downloaded the latest code from TFS 2013. When opening the solution file, I saw the following screenshot error.

Change the target to .NET framework 4.5. You can change back to .NET Framework , version =v4.5 at a later time.

 After looking into this issue, here are my findings:

Another team member is using .NET framework 4.5.1 on his laptop via Visual Studio 2012.

When opening the solution file, for some reason, there is no .NET framework 4.5 for this project in the dropdown on this machine. That explained why I saw this error.

 Forgot that screenshot error,  moved on and used . NET framework 4.5.1 to build the project. It worked perfectly.


rmouniak said...

Nice blog Thanks
.Net Online Training

Jayalakshmi said...

I am happy to know. thank you so much for giving us a chance to have this opportunity.. This is the exact information I am been searching for, Thanks for sharing the required infos with the clear update and required points.

Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery