您的位置:首页 > 其它

'DEVENV' is not recognized as an internal or external command,

2014-02-22 16:21 876 查看
使用命令行 DEVENV 编译c# 工程,

C:\MyProject>DEVENV "MyProject.sln" /build Release /useenv
'DEVENV' is not recognized as an internal or external command,
operable program or batch file.

在命令行使用 DEVENV,需要首先将 DEVENV 所在的路径加入环境变量中。

@REM Win7 Operating System

C:\MyProject>set PATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE

C:\MyProject>DEVENV "MyProject.sln" /build Release /useenv

Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. All rights reserved.

...............
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐