作者:手机用户2602931437 | 来源:互联网 | 2023-08-22 14:56
在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
VS2010--canot determine the locationof the vs common tools folder