<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=MSBuild</id>
	<title>MSBuild - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=MSBuild"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=MSBuild&amp;action=history"/>
	<updated>2026-07-03T15:21:55Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=MSBuild&amp;diff=3951477&amp;oldid=prev</id>
		<title>imported&gt;InternetArchiveBot：​Fixing 2 dead IA links per WP:DEADIABOOKLINKS (20260528dark)) #IABot (v2.0.9.5) (GreenC bot</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=MSBuild&amp;diff=3951477&amp;oldid=prev"/>
		<updated>2026-05-29T06:20:09Z</updated>

		<summary type="html">&lt;p&gt;Fixing 2 dead IA links per &lt;a href=&quot;/index.php?title=En:WP:DEADIABOOKLINKS&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;En:WP:DEADIABOOKLINKS（页面不存在）&quot;&gt;WP:DEADIABOOKLINKS&lt;/a&gt; (20260528dark)) #IABot (v2.0.9.5) (&lt;a href=&quot;/index.php?title=User:GreenC_bot&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:GreenC bot（页面不存在）&quot;&gt;GreenC bot&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{NoteTA&lt;br /&gt;
|G1=IT&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox software&lt;br /&gt;
| name = MSBuild&lt;br /&gt;
| logo = MSBuild logo (2024).svg&lt;br /&gt;
| logo size = 64px&lt;br /&gt;
| developer = [[微软]]&lt;br /&gt;
| released = {{Start date and age|2003|df=dmy}}&lt;br /&gt;
| discontinued = &lt;br /&gt;
| latest release version = v17.0.0&lt;br /&gt;
| latest release date = {{Start date and age|2021|11|02|df=dmy}}&amp;lt;ref&amp;gt;{{cite web |title=Latest release |department=Microsoft/msbuild |url=https://github.com/Microsoft/msbuild/releases/latest |website=[[GitHub]] |publisher=[[微软]] |access-date=2022-02-15}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| programming language = [[C♯|C#]]&lt;br /&gt;
| operating system = [[跨平臺]]&lt;br /&gt;
| platform = [[.NET框架]]、[[.NET]]&lt;br /&gt;
| size = &lt;br /&gt;
| language = &lt;br /&gt;
| language count = &amp;lt;!-- Number only --&amp;gt;&lt;br /&gt;
| language footnote = &lt;br /&gt;
| genre = [[組建自動化]]&lt;br /&gt;
| license = [[MIT許可證]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Microsoft Build Engine&amp;#039;&amp;#039;&amp;#039;（通常简称&amp;#039;&amp;#039;&amp;#039;MSBuild&amp;#039;&amp;#039;&amp;#039;&amp;lt;ref&amp;gt;{{Cite web|title=microsoft/msbuild: The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio|url=https://github.com/Microsoft/msbuild|access-date=2019-07-23|work=[[GitHub]]|publisher=[[Microsoft]]|archive-date=2015-04-29|archive-url=https://web.archive.org/web/20150429205525/https://github.com/Microsoft/msbuild}}&amp;lt;/ref&amp;gt; &amp;lt;ref&amp;gt;{{Cite book|title=Inside the Microsoft Build Engine: Using MSBuild and Team Foundation Build|url=https://archive.org/details/insidemicrosoftb0000hash_t2j0|year=2009|publisher=Microsoft Press|isbn=978-0-7356-2628-7|first=Sayed Ibrahim|last=Hashimi|first2=William|last2=Bartholomew|pages=[https://archive.org/details/insidemicrosoftb0000hash_t2j0/page/406 406]}}&amp;lt;/ref&amp;gt;）是一个[[自由及开放源代码软件|自由且开源]]的[[組建自動化|构建工具]]集，适用于[[受控代碼|托管代码]]以及原生[[C++]]代码，是[[.NET框架]]的一部分。[[Microsoft Visual Studio]]依赖于 MSBuild，MSBuild也依赖于Visual Studio。 &amp;lt;ref name=&amp;quot;Prime&amp;quot;&amp;gt;{{Cite web|title=MSBuild|url=https://docs.microsoft.com/visualstudio/msbuild/msbuild|access-date=2019-07-23|work=[[Microsoft Docs]]}}&amp;lt;/ref&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== 概述 ==&lt;br /&gt;
MSBuild是一套构建工具，用于帮助软件产品创建流程的自动化，包括[[編譯器|编译]][[源代码]]、[[软件包管理系统|打包]]、测试、[[软件部署|部署]]和创建文档。使用MSBuild可以在不安装Visual Studio [[集成开发环境|IDE]]的情况下构建 Visual Studio项目和解决方案。MSBuild是[[自由及开放源代码软件|自由且开源]]的软件。&amp;lt;ref&amp;gt;{{Cite web|title=MSBuild Engine is now Open Source on GitHub|url=https://devblogs.microsoft.com/dotnet/msbuild-engine-is-now-open-source-on-github/|access-date=2019-07-23|author=Lander|date=2015-03-18|first=Rich|work=MSDN Blogs|publisher=[[Microsoft]]|archive-date=2021-11-24|archive-url=https://web.archive.org/web/20211124165422/https://devblogs.microsoft.com/dotnet/msbuild-engine-is-now-open-source-on-github/}}&amp;lt;/ref&amp;gt; MSBuild曾经是[[.NET框架]]的一部分，但从[[Microsoft Visual Studio|Visual Studio 2013]]开始成为Visual Studio产品的组件之一。 &amp;lt;ref name=&amp;quot;msb12&amp;quot; /&amp;gt;MSBuild是[[Make|nmake]]实用程序在功能上的替代品，不过nmake实用程序仍在源自早期Visual Studio版本的项目中使用。&lt;br /&gt;
&lt;br /&gt;
MSBuild作用于与[[Apache Ant]]和{{tsl|en|NAnt}}有相似[[XML]]语法的MSBuild项目文件。尽管语法基于定义明确的[[XML Schema 语言|XML模式]]，但其基本结构和操作与传统的Unix [[make]]实用程序相当：用户指定使用什么（通常是源代码文件）以及结果是什么（通常是静态库、DLL或可执行应用程序），而实用程序本身决定做什么以及执行构建的顺序。&lt;br /&gt;
&lt;br /&gt;
MSBuild可以依照选择来针对其支持的.NET框架版本构建项目，此功能被称为“多目标”。不过，同一时间只能指定一个.NET框架目标版本。&amp;lt;ref&amp;gt;{{Cite web|title=MSBuild multitargeting overview|url=https://docs.microsoft.com/visualstudio/msbuild/msbuild-multitargeting-overview|access-date=2019-07-23|work=[[Microsoft Docs]]}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 历史 ==&lt;br /&gt;
MSBuild的创建始于2003年，针对在[[Microsoft Visual Studio|Visual Studio 2005]]（代号Whidbey）&amp;lt;ref&amp;gt;{{Cite web|title=Building, Testing, and Deployment|url=http://msdn.microsoft.com/en-us/library/88fx1xy0(VS.80).aspx#rtmbuildtestdeploy|work=MSDN|publisher=Microsoft|archive-url=https://web.archive.org/web/20140826051347/http://msdn.microsoft.com/en-us/library/88fx1xy0(VS.80).aspx#rtmbuildtestdeploy|archive-date=2014-08-26}}&amp;lt;/ref&amp;gt;和[[Windows Vista]]（代号Longhorn）中使用的.NET Framework 2.0。&amp;lt;ref name=&amp;quot;Sneath2004&amp;quot;&amp;gt;{{Cite web|title=MSBuild: The New Build System for Visual Studio 2005 and Longhorn|url=https://blogs.msdn.microsoft.com/tims/2004/07/19/msbuild-the-new-build-system-for-visual-studio-2005-and-longhorn/|access-date=2018-04-22|author=Sneath|date=2004-07-19|first=Tim|work=MSDN Blogs|archive-date=2019-12-18|archive-url=https://web.archive.org/web/20191218033029/https://blogs.msdn.microsoft.com/tims/2004/07/19/msbuild-the-new-build-system-for-visual-studio-2005-and-longhorn/}}&amp;lt;/ref&amp;gt; &amp;lt;ref name=&amp;quot;England2010&amp;quot;&amp;gt;{{Cite web|title=Getting Started with MSBuild|url=https://blogs.msdn.microsoft.com/visualstudio/2010/02/25/getting-started-with-msbuild/|access-date=2018-04-22|author=England|date=2010-02-25|first=Chuck|work=MSDN Blogs|archive-date=2019-01-12|archive-url=https://web.archive.org/web/20190112214049/https://blogs.msdn.microsoft.com/visualstudio/2010/02/25/getting-started-with-msbuild/}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 版本 ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! 版本 !! .NET Framework !! Visual Studio版本 !! 常见安装位置（x86）&amp;lt;ref&amp;gt;{{cite web |title=Standard and custom Toolset configurations |url=https://docs.microsoft.com/visualstudio/msbuild/standard-and-custom-toolset-configurations |department=MSBuild |website={{tsl|en|Microsoft Docs}} |access-date=2019-07-23}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| 2.0 || 2.0 || 2005 || C:\Windows\Microsoft.NET\Framework\v2.0.50727&lt;br /&gt;
|-&lt;br /&gt;
| 3.5 || 3.5 || 2008 || C:\Windows\Microsoft.NET\Framework\v3.5&lt;br /&gt;
|-&lt;br /&gt;
| 4.7.3062.0 || 4.0 || 2010 || C:\Windows\Microsoft.NET\Framework\v4.0.30319&lt;br /&gt;
|-&lt;br /&gt;
| 4.8.3761.0 || 4.5.2 || 2012 || C:\Windows\Microsoft.NET\Framework\v4.0.30319&lt;br /&gt;
|-&lt;br /&gt;
| 12.0&amp;lt;ref name=&amp;quot;msb12&amp;quot;&amp;gt;{{cite web |title=What&amp;#039;s new in MSBuild 12.0 |url=https://docs.microsoft.com/visualstudio/msbuild/what-s-new-in-msbuild-12-0 |department=MSBuild |website={{tsl|en|Microsoft Docs}} |access-date=2019-07-23}}&amp;lt;/ref&amp;gt; || 4.5.2 || 2013 || C:\Program Files (x86)\MSBuild\12.0\Bin&lt;br /&gt;
|-&lt;br /&gt;
| 14.0 || 4.6 || 2015 || C:\Program Files (x86)\MSBuild\14.0\Bin&lt;br /&gt;
|-&lt;br /&gt;
| 15.0&amp;lt;ref name=&amp;quot;msb15&amp;quot;&amp;gt;{{cite web |title=What&amp;#039;s new in MSBuild 15 |url=https://docs.microsoft.com/visualstudio/msbuild/what-s-new-in-msbuild-15-0 |department=MSBuild |website={{tsl|en|Microsoft Docs}} |access-date=2019-07-23}}&amp;lt;/ref&amp;gt; || 4.7 || 2017 || class=&amp;quot;plainlist&amp;quot; |&lt;br /&gt;
*C:\Program Files (x86)\Microsoft Visual Studio\2017\&amp;#039;&amp;#039;&amp;#039;BuildTools&amp;#039;&amp;#039;&amp;#039;\MSBuild\15.0\Bin&lt;br /&gt;
*C:\Program Files (x86)\Microsoft Visual Studio\2017\&amp;#039;&amp;#039;&amp;#039;Enterprise&amp;#039;&amp;#039;&amp;#039;\MSBuild\15.0\Bin&lt;br /&gt;
*C:\Program Files (x86)\Microsoft Visual Studio\2017\&amp;#039;&amp;#039;&amp;#039;Community&amp;#039;&amp;#039;&amp;#039;\MSBuild\15.0\Bin&lt;br /&gt;
|-&lt;br /&gt;
| 16.0&amp;lt;ref name=&amp;quot;msb16&amp;quot;&amp;gt;{{cite web |title=What&amp;#039;s new in MSBuild 16.0 |url=https://docs.microsoft.com/visualstudio/msbuild/whats-new-msbuild-16-0 |department=MSBuild |website={{tsl|en|Microsoft Docs}} |access-date=2019-07-23}}&amp;lt;/ref&amp;gt; || 4.7.2 || 2019 ||class=&amp;quot;plainlist&amp;quot; |&lt;br /&gt;
*C:\Program Files (x86)\Microsoft Visual Studio\2019\&amp;#039;&amp;#039;&amp;#039;BuildTools&amp;#039;&amp;#039;&amp;#039;\MSBuild\Current\Bin&lt;br /&gt;
*C:\Program Files (x86)\Microsoft Visual Studio\2019\&amp;#039;&amp;#039;&amp;#039;Enterprise&amp;#039;&amp;#039;&amp;#039;\MSBuild\Current\Bin&lt;br /&gt;
*C:\Program Files (x86)\Microsoft Visual Studio\2019\&amp;#039;&amp;#039;&amp;#039;Community&amp;#039;&amp;#039;&amp;#039;\MSBuild\Current\Bin&lt;br /&gt;
|-&lt;br /&gt;
|17.0&lt;br /&gt;
|&lt;br /&gt;
|2022&lt;br /&gt;
|&lt;br /&gt;
*C:\Program Files\Microsoft Visual Studio\2022\&amp;#039;&amp;#039;&amp;#039;BuildTools&amp;#039;&amp;#039;&amp;#039;\MSBuild\Current\Bin&lt;br /&gt;
*C:\Program Files\Microsoft Visual Studio\2022\&amp;#039;&amp;#039;&amp;#039;Enterprise&amp;#039;&amp;#039;&amp;#039;\MSBuild\Current\Bin&lt;br /&gt;
*C:\Program Files\Microsoft Visual Studio\2022\&amp;#039;&amp;#039;&amp;#039;Community&amp;#039;&amp;#039;&amp;#039;\MSBuild\Current\Bin&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 参见 ==&lt;br /&gt;
* {{tsl|en|List of build automation software|构建自动化软件列表}}&lt;br /&gt;
&lt;br /&gt;
== 参考资料 ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
== 拓展阅读 ==&lt;br /&gt;
&lt;br /&gt;
{{Refbegin}}&lt;br /&gt;
* {{cite book |title=MSBuild Trickery: 99 Ways to Bend the Build Engine to Your Will |url=https://archive.org/details/isbn_9780615509075 |year=2011 |publisher=K Cross Seven Ranch Company |isbn=978-0-615-50907-5 |last=Kretzler |first=Brian |pages=[https://archive.org/details/isbn_9780615509075/page/n431 426]}}&lt;br /&gt;
* {{cite journal |first=Sayed Ibrahim |last=Hashimi |url=http://msdn.microsoft.com/en-us/magazine/cc163589.aspx |title=Inside MSBuild: Compiling Apps With Custom Tasks For The Microsoft Build Engine |journal=MSDN Magazine |publisher=Microsoft |date=June 2006 |access-date=11 April 2013 |archive-url=https://web.archive.org/web/20150411004510/https://msdn.microsoft.com/en-us/magazine/cc163589.aspx |archive-date=11 April 2015 |url-status=dead }}&lt;br /&gt;
* {{cite journal |first=Sayed Ibrahim |last=Hashimi |url=http://msdn.microsoft.com/en-us/magazine/cc163456.aspx |title=WiX Tricks: Automate Releases With MSBuild And Windows Installer XML |journal=MSDN Magazine |publisher=Microsoft |date=March 2007 |access-date=11 April 2013 |archive-date=2015-02-05 |archive-url=https://web.archive.org/web/20150205093127/https://msdn.microsoft.com/en-us/magazine/cc163456.aspx }}&lt;br /&gt;
* {{cite journal |first=Sayed Ibrahim |last=Hashimi |url=http://msdn.microsoft.com/en-us/magazine/dd419659.aspx |title=MSBuild: Best Practices For Creating Reliable Builds, Part 1 |journal=MSDN Magazine |publisher=Microsoft |date=February 2009 |access-date=11 April 2013 |archive-date=2019-07-15 |archive-url=https://web.archive.org/web/20190715021856/https://msdn.microsoft.com/en-us/magazine/dd419659.aspx }}&lt;br /&gt;
* {{cite journal |first=Sayed Ibrahim |last=Hashimi |url=http://msdn.microsoft.com/en-us/magazine/dd483291.aspx |title=MSBuild: Best Practices For Creating Reliable Builds, Part 2 |journal=MSDN Magazine |publisher=Microsoft |date=March 2009 |access-date=11 April 2013 |archive-date=2019-07-15 |archive-url=https://web.archive.org/web/20190715021651/https://msdn.microsoft.com/en-us/magazine/dd483291.aspx }}&lt;br /&gt;
* {{cite web |first=Andreas |last=Reif |url=http://www.heise.de/developer/artikel/Einfuehrung-in-Microsofts-Build-Management-Technik-MSBuild-1017660.html |title=Einführung in Microsofts Build-Management-Technik MSBuild |trans-title=Introduction to Microsoft&amp;#039;s build management technology, MSBuild |language=de |work=heise Developer |publisher={{tsl|en|Heinz Heise}} |date=10 June 2010 |access-date=11 April 2013 |archive-date=2020-09-24 |archive-url=https://web.archive.org/web/20200924160342/https://www.heise.de/developer/artikel/Einfuehrung-in-Microsofts-Build-Management-Technik-MSBuild-1017660.html }}&lt;br /&gt;
* {{Cite web |last1=Jones |first1=Mike |last2=Warren |first2=Genevieve |last3=Blome |first3=Mike |last4=Robertson |first4=Colin |last5=Hogenson |first5=Gordon |last6=Cai |first6=Saisang |date=2016-11-04 |title=MSBuild target framework and target platform |url=https://docs.microsoft.com/visualstudio/msbuild/msbuild-target-framework-and-target-platform |department=MSBuild |website={{tsl|en|Microsoft Docs}} |access-date=2018-02-19}}&lt;br /&gt;
{{Refend}}&lt;br /&gt;
&lt;br /&gt;
== 外部链接 ==&lt;br /&gt;
* {{Official website}}&lt;br /&gt;
{{Microsoft development tools}}&lt;br /&gt;
&lt;br /&gt;
[[Category:2003年软件]]&lt;br /&gt;
[[Category:使用MIT许可证的软件]]&lt;br /&gt;
[[Category:Microsoft Visual Studio]]&lt;br /&gt;
[[Category:微软自由软件]]&lt;br /&gt;
[[Category:編譯工具]]&lt;br /&gt;
[[Category:自动化构建]]&lt;/div&gt;</summary>
		<author><name>imported&gt;InternetArchiveBot</name></author>
	</entry>
</feed>