我是靠谱客的博主 阔达跳跳糖,这篇文章主要介绍vs2010 command prompt 运行时停在Setting environment for using Microsoft Visual Studio 2010 x86 tools.,现在分享给大家,希望可以做个参考。

在win7上安装vs2012后运行,command line tool时,cmd窗口停在了Setting environment for using Microsoft Visual Studio 2010 x86 tools界面

解决办法

 修改c:Program FilesMicrosoft Visual Studio 10.0VCbinvcvars32.bat文件,在第一行echo之后添加,根据自己安装的路径修改相应变量

@SET VSINSTALLDIR=c:Program FilesMicrosoft Visual Studio 10.0

@SET VCINSTALLDIR=c:Program FilesMicrosoft Visual Studio 10.0VC

@SET FrameworkDir32=c:WindowsMicrosoft.NETFramework

@SET WindowsSdkDir=C:Program FilesMicrosoft SDKsWindowsv7.0A

@SET FrameworkVersion32=v4.0.30319

@SET Framework35Version=v3.5

 

注释如下三句

::@call :GetVSCommonToolsDir
::@if "%VS100COMNTOOLS%"=="" goto error_no_VS100COMNTOOLSDIR
::@call "%VS100COMNTOOLS%VCVarsQueryRegistry.bat" 32bit No64bit

 

http://social.msdn.microsoft.com/Forums/en/vcprerelease/thread/64d2bc64-3ec9-49db-9833-022321711e38

 

注意要在上面论坛的路径后加,否则cl用不了。

最后

以上就是阔达跳跳糖最近收集整理的关于vs2010 command prompt 运行时停在Setting environment for using Microsoft Visual Studio 2010 x86 tools.的全部内容,更多相关vs2010内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(60)

评论列表共有 0 条评论

立即
投稿
返回
顶部