What is MSBuild and its purpose

Possible duplicate:
MSBuild: what is it and when do I need it?

I have never used MSBuild and have no idea what the purpose of MSBuild is. It would be nice if someone briefly described what situations people use MSBuild in.

+6
source share
2 answers

Basically, MsBuild is designed to create your project / solution. You can use the msbuild command line prompt to create your project, rather than right-clicking and assembling. MsBuild is very useful when it comes to automated build servers, where you build projects when someone checks for any new code.

Another advantage of msbuild is that it is able to create your project without a VS IDE. You do not need a VS IDE to create your project on automated build servers.

Below are a few sites that provide you with good information.

http://msdn2.microsoft.com/en-us/library/wea2sca5.aspx MSDN Documentation MSBuild

http://channel9.msdn.com/wiki/default.aspx/MSBuild.HomePage MSBuild Wikki

http://msdn2.microsoft.com/en-us/library/0k6kkbsd.aspx MSBuild Link

http://blogs.msdn.com/msbuild/default.aspx MSBuild Team Blog

+8
source

MSBuild is a Microsoft build utility similar to ANT in the Java world. It provides a way to determine your building requirements, dependencies, order, etc. By editing xml files. You can use existing tasks or create your own tasks according to your needs and use them in the build process.

ex: you can determine the build solution and establish the order of building projects, where to collect the latest data, where to put the binary files, where to deploy them, to whom to inform, by sending mail, what to do in case of errors, etc. (Almost all tasks, and each task may have pre-conditions and post-conditions)

refer: http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx

+3
source

Source: https://habr.com/ru/post/887789/


All Articles