Studio是否在内部使用MSBuild

Studio是否在内部使用MSBuild

本文介绍了Visual Studio是否在内部使用MSBuild?确切的命令是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio(特别是VS2013)是否在内部使用msbuild来构建项目?

Does Visual Studio (specifically VS2013) use msbuild internally to build projects?

如果是这样,我是否有办法确定它使用的确切命令和参数? (这是指 MSBuild命令,而不是MSBuild将要调用的单个命令)

And if so, is there a way for me to determine the exact command and arguments it uses? (And by this I mean the MSBuild command, not the individual commands that MSBuild would be calling)

我的目标是使用msbuild成功构建某些项目(这是一个xamarin项目),以便以后可以使用基于Windows的teamcity构建代理来构建xamarin项目.

My goal is to successfully build a certain projects (it is a xamarin project) using msbuild, so that later I can use my Windows-based teamcity build agent to build xamarin projects.

推荐答案

"VS使用了与MSDN上记录的MSBuild对象模型相同的对象

"VS uses the same MSBuild object model that is documented on MSDN"

http://blogs.msdn.com/b/msbuild/archive/2006/01/06/508981.aspx

似乎没有指定MSBuild命令行选项,而是在Visual Studio中调用了MSBuild API.除非您具有要反向工程的Visual Studio源代码,否则您将无法获得等效的命令行.

It appears that the MSBuild command line options are not specified, but rather the MSBuild APIs are called within Visual Studio. Unless you have the Visual Studio source code to reverse engineer, you cannot get an equivalent command line.

这篇关于Visual Studio是否在内部使用MSBuild?确切的命令是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 02:03