c++ - Visual Build (kinook) 如何构建 C++ 项目?

标签 c++ visual-studio continuous-integration visual-build-professional

bld 文件指定了 sln 文件,但是它调用什么来构建它?开发者?建构?其他?

我想添加一些命令行参数,但我不确定它为非托管 C++ 解决方案调用哪个可执行文件。

最佳答案

这取决于。对于 Visual Studio 2002/2003,它始终调用 devenv.com。对于 Visual Studio 2005 及更高版本,它默认调用 msbuild.exe,如果在“选项”选项卡上的“覆盖”字段中指定,则调用 devenv 或 vcbuild。

... the action will automatically locate the correct devenv.com or msbuild.exe compiler, based on the version of the project or solution being built. For Visual Studio 2005 and later and Delphi Prism, this action locates and calls msbuild.exe (installed with the .NET Framework 2.0 or later); for Visual Studio 2002/2003, it invokes the appropriate devenv.com compiler for the specified project or solution version.

http://www.kinook.com/VisBuildPro/Manual/vsnetoptionstab.htm

关于c++ - Visual Build (kinook) 如何构建 C++ 项目?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1228170/

相关文章:

python - QProcess 不执行 python 脚本

C++ 日期中的秒数

c++ - 在没有注册数据库的情况下使用 ODBC 连接到 SQLite

c# - 如何在 WIX 的安装标题中显示版本号?

git - 从 Visual Studio 2017 使用 git 克隆时出现 "Illegal characters in path"

continuous-integration - 运行 TeamCity VSTest 构建步骤时路径中存在非法字符

azure - 从 azure pipelines 构建的 setup.exe 每次运行都会提示 .NET Framework 4.7.2

c++ - 如何将 Emacs 结构体缩进从 4 个空格更改为 2 个空格

azure-devops - 如何在Azure构建验证中获取源分支名称

c# - 断点和异常停止正常工作,xamarin android