当我尝试添加类库项目时,出现此错误:工具版本3.5无法识别

当我尝试添加类库项目时,出现此错误:工具版本3.5无法识别

问题描述:

当我尝试添加类库项目时,出现此错误:工具版本3.5无法识别。当我尝试添加类库项目时,出现此错误:工具版本3.5无法识别

我该怎么办?

我假设你是在Visual Studio 2008中...

下面是这个修复:

Make sure these keys are present in the registry. If not present add it. This should resolve this issue.

[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\”

:从上面的条目引用

http://execucode.wordpress.com/2009/01/08/the-tools-version-35-is-unrecognized-error-on-visual-studio-2008-startup/