MSBuild

MSBuild

MSBuild is a Microsoft build platform typically used in conjunction with Visual Studio. MSBuild version 2.0 is part of .NET Framework 2.0 and works together with Visual Studio 2005. Version 3.5 of MSBuild, which is bundled together with .NET 3.5 (and Visual Studio 2008), allows .NET projects to be built for either 2.0, 3.0 or 3.5 .NET version support (also known as"multi-targeting").

It is possible to build Visual Studio projects and solutions without the Visual Studio IDE installed. MSBuild is available at no cost.

MSBuild acts on MSBuild project files which have a similar XML syntax to Apache Ant or NAnt. Even though the syntax is based upon well-defined XML schema, the fundamental structure and operation is comparable to the traditional Unix make utility: the user specifies what will be used (typically source code files) and what the result should be (typically an application), but the utility itself decides what to do and the order in which to do it.

Contents

NMAKE

MSBuild is a functional replacement for the nmake utility, the latter of which remains in use in projects that originated in older Visual Studio releases.

Target

The focus of the tool is the result Target specified when invoking MSBuild with the project file. Subsequent dependent Targets are executed before the requested Target. Each Target may be self contained with the necessary Tasks to complete itself. A Target is typically an action executed on a file, set of files or directory.

Task

A Task is a command which is executed in order to complete a Target. A Task is typically implemented in a .NET assembly as a class which inherits from the Task class or implements the ITask interface. Many basic tasks are being shipped as part of the .NET Framework, and community developed tasks are freely available.

Properties and Items

In addition MSBuild provides Properties and Items, which are conceptually equivalent to make's macros. Properties specify static values, whereas Items are usually used to define sets of files/folders on which to perform Tasks. Specifying files on Items is made easy by the support of wildcards.

Team Foundation Build

The Visual Studio Team System also depends on MSBuild to perform the actual Team Builds via the Visual Studio Team Foundation Server. The builds are most likely not executed on the server itself, but remotely on one or more Build Servers with the necessary software installed (i.e. Team Foundation Server (Build)).

See also

References

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • MSBuild — MSBuild  платформа сборки проекта, разработанная Microsoft. Обычно применяется в сочетании с Visual Studio. MSBuild версии 2.0 является частью .NET Framework 2.0 и предназначен для работы с Visual Studio 2005. Версия 3.5 MSBuild, которая… …   Википедия

  • MSBuild — Développeur Microsoft Environnement …   Wikipédia en Français

  • Comparison of Continuous Integration Software — Contents 1 About Continuous Integration Software 2 Comparison 3 See also 4 References About Continuous Integra …   Wikipedia

  • List of build automation software — Build automation involves scripting or automating the process of compiling computer source code into binary code. Below is a list of notable tools associated with the build automation process. Contents 1 Make based tools 2 Non Make based tools 3… …   Wikipedia

  • Sandcastle (software) — Sandcastle Developer(s) Microsoft Corporation Stable release 2.4.10520 / June 23, 2010; 16 months ago (2010 06 23) Operating system Windows, Linux (under Mono) …   Wikipedia

  • ClickOnce — ist eine Technik von Microsoft, die es ermöglicht, Windows Anwendungen über das Internet mit nur einem Klick zu starten. Solche Anwendungen sind auch unter dem Namen Smart Clients bekannt. Es unterstützt mit Windows Forms oder Windows… …   Deutsch Wikipedia

  • MonoDevelop — Bildschirmfoto der Version 2.4 Basisdaten Entwickler Mono Projekt …   Deutsch Wikipedia

  • Applet Silverlight — Cette page ne correspond pas aux critères d’un article encyclopédique, et il semble qu’elle aurait plus sa place sur Wikiversity. Vous êtes invité à procéder à ce transfert sur le projet wikiversity francophone en conservant l’historique. La… …   Wikipédia en Français

  • C++ Builder — Infobox Software name = C++ Builder caption = developer = CodeGear latest release version = latest release date = operating system = Microsoft Windows genre = IDE license = Proprietary website = [http://www.codegear.com/tabid/123/Default.aspx… …   Wikipedia

  • Clarion (programming language) — For other uses, see Clarion. Clarion Developer(s) JPI, Clarion International, SoftVelocity Stable release 8.0 / August 30, 2011; 2 months ago (2011 08 30) Operating system …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”