VS2008 新建项目提示无法识别工具版本3.5

将下列代码保存为.reg,导入注册表即可

代码
   
     
Windows Registry Editor Version 5.00

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

 

你可能感兴趣的:(vs2008)