VS2010--canot determine the locationof the vs common tools folder

vcvars32.bat第一行后复制

@SET VSINSTALLDIR=c:\Program Files\Microsoft Visual Studio 10.0 
@SET VCINSTALLDIR=c:\Program Files\Microsoft Visual Studio 10.0\VC
@SET FrameworkDir32=c:\Windows\Microsoft.NET\Framework
@SET FrameworkVersion32=v4.0.30319
@SET Framework35Version=v3.5

在下面三行前面加 ::
::@call :GetVSCommonToolsDir 
::@if "%VS100COMNTOOLS%"=="" goto error_no_VS100COMNTOOLSDIR 
::@call "%VS100COMNTOOLS%VCVarsQueryRegistry.bat" 32bit No64bit

posted on 2016-08-23 11:55  czhoud  阅读(965)  评论(0编辑  收藏  举报

导航