首页 > 其他 > 详细

Cannot determine the location of the VS Common Tools folder.

时间:2014-02-23 04:45:57      阅读:730      评论:0      收藏:0      [点我收藏+]

用 DEVENV 在命令行编译 .sln 工程时,出现以下错误:

--------------------------------------------------------------------------------

Setting environment for using Microsoft Visual Studio 2010 x86 tools.
EXEC : error : Cannot determine the location of the VS Common Tools folder.

--------------------------------------------------------------------------------

可能原因是 环境变量设置的不完整,

set PATH=%VS100COMNTOOLS%;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64;

SET FrameworkDir=%windir%\Microsoft.NET\Framework
SET FrameworkVersion=v4.0.30319

如上设置之后,编译还是不通过。

将 %SystemRoot%\system32 加入PATH 环境变量后,编译通过。

Cannot determine the location of the VS Common Tools folder.

原文:http://www.cnblogs.com/cindy-hu-23/p/3561031.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!