VS 2008 Create Project Tool version unrecognized

If you have error creating project and receive Unable read project file [full filename]: The tools version "3.5" is unrecognised, then the following should help to solve it.

Open up your Window registry :-

And make the following changes....

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\3.5]
"DefaultToolsVersion"="2.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\2.0]
"MSBuildToolsPath"="C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\3.5]
"MSBuildToolsPath"="C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5\\"

Comments

Tamer said…
It did not do it for me, I have these exact values, and still have the same err message.
R said…
http://social.microsoft.com/Forums/en-US/vsdebug/thread/42e33170-96ad-481b-afc9-f3ea176c10df

This is a better explanation.
Creator : DK said…
Thanks Mitzen i successfully resolved the problem.....
Kodi said…
Thanks! Got that error out of the way.
Deepak Artal said…
Thanks a lot.
This worked for me.
At first I thought it did not work.
And then I just rebooted my machine once and it worked.
dishant said…
I am also facing this problem and tried the above given solution but unfortunately it is not working.After doing above changes when i rebooted my system and tried to create a VS2008 project it gives a different error message asthe name of property stored under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\2.0 has zero length
Now what is this error and do somebody has any other solution??

Popular posts from this blog

OpenCover code coverage for .Net Core

Android Programmatically apply style to your view

Using Custom DLL with IronPython / Scripts