Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Visual Studio use MSBuild internally, and what is the exact command? [duplicate]

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

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)

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.

like image 491
user2320724 Avatar asked Feb 28 '14 00:02

user2320724


1 Answers

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

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

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.

like image 65
positivesigner Avatar answered Oct 14 '22 15:10

positivesigner