如何使用VS2012 Express从命令行构建解决方案? [英] How to build a solution from the command line with VS2012 Express?

查看:64
本文介绍了如何使用VS2012 Express从命令行构建解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用Visual C ++ 2012 Express从命令行构建VC ++解决方案?

How to build a VC++ solution from the command line with Visual C++ 2012 Express ?

推荐答案

打开开发人员命令提示符 VS2012,位于所有程序的 Microsoft Visual Studio 2012-> Visual Studio工具中。

Open a "Developer Command Prompt for VS2012", located in the "Microsoft Visual Studio 2012 --> Visual Studio Tools" in "All Programs".

键入 msbuild / help 以获取文档。

示例:
cd 到您的解决方案文件夹。
类型 MSBuild MyApp.sln / t:重建/ p:配置=发布/ p:平台= Win32

Example: cd to your solution folder. type MSBuild MyApp.sln /t:Rebuild /p:Configuration=Release /p:Platform=Win32

这篇关于如何使用VS2012 Express从命令行构建解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆