Microsoft.Build
17.2.0
Prefix Reserved
Install-Package Microsoft.Build -Version 17.2.0
dotnet add package Microsoft.Build --version 17.2.0
<PackageReference Include="Microsoft.Build" Version="17.2.0" />
paket add Microsoft.Build --version 17.2.0
#r "nuget: Microsoft.Build, 17.2.0"
// Install Microsoft.Build as a Cake Addin
#addin nuget:?package=Microsoft.Build&version=17.2.0
// Install Microsoft.Build as a Cake Tool
#tool nuget:?package=Microsoft.Build&version=17.2.0
Microsoft.Build
This package contains Microsoft.Build.dll
, which defines MSBuild's API, including
Microsoft.Build.Evaluation
for evaluating MSBuild projects,Microsoft.Build.Construction
for creating new MSBuild projects, andMicrosoft.Build.Execution
for building MSBuild projects.
Developers should reference this package to write applications that create, edit, evaluate, or build MSBuild projects.
To create or edit an MSBuild project, use the Microsoft.Build.Construction.ProjectRootElement class and call the Create or Open method.
To evaluate or build an MSBuild project, use the Microsoft.Build.Evaluation.Project class by creating an instance of it with the appropriate parameters for your project. To retrieve evaluated items, call methods such as properties such as GetItems or GetPropertyValue.
Product | Versions |
---|---|
.NET | net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Framework | net472 net48 |
-
.NETFramework 4.7.2
- Microsoft.Build.Framework (>= 17.2.0)
- Microsoft.IO.Redist (>= 6.0.0)
- Microsoft.NET.StringTools (>= 1.0.0)
- System.Collections.Immutable (>= 5.0.0)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Memory (>= 4.5.4)
- System.Text.Json (>= 6.0.0)
- System.Threading.Tasks.Dataflow (>= 6.0.0)
-
net6.0
- Microsoft.Build.Framework (>= 17.2.0)
- Microsoft.NET.StringTools (>= 1.0.0)
- Microsoft.Win32.Registry (>= 4.3.0)
- System.Collections.Immutable (>= 5.0.0)
- System.Configuration.ConfigurationManager (>= 4.7.0)
- System.Reflection.Metadata (>= 1.6.0)
- System.Security.Principal.Windows (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.0.1)
- System.Text.Json (>= 6.0.0)
- System.Threading.Tasks.Dataflow (>= 6.0.0)
NuGet packages (100)
Showing the top 5 NuGet packages that depend on Microsoft.Build:
Package | Downloads |
---|---|
Microsoft.VisualStudio.Web.CodeGeneration.Utils
Contains utilities used by ASP.NET Core Code Generation packages. |
|
Microsoft.Build.Runtime
This package delivers a complete executable copy of MSBuild. Reference this package only if your application needs to load projects or execute in-process builds without requiring installation of MSBuild. Successfully evaluating projects using this package requires aggregating additional components (like the compilers) into an application directory. |
|
Microsoft.DotNet.Cli.Utils
Package Description |
|
Nuke.Common
Cross-platform build automation system Signed by signpath.io from repository 'https://github.com/nuke-build/nuke' commit '06168636a6c3d86bc83645fe5ef519ee17bf7233' (see contained AppVeyorSettings.json file for build settings). |
|
MSBuild.StructuredLogger
An MSBuild logger that can be passed to MSBuild to record a detailed structured log file. See usage example at: https://github.com/KirillOsenkov/MSBuildStructuredLog/blob/main/README.md#usage |
GitHub repositories (94)
Showing the top 5 popular GitHub repositories that depend on Microsoft.Build:
Repository | Stars |
---|---|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
|
|
mono/mono
Mono open source ECMA CLI, C# and .NET implementation.
|
|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
dotnet/orleans
Cloud Native application framework for .NET
|
Version | Downloads | Last updated |
---|---|---|
17.2.0 | 5,284 | 5/11/2022 |
17.1.0 | 55,051 | 3/8/2022 |
17.0.0 | 2,498,388 | 11/8/2021 |
16.11.0 | 198,278 | 8/19/2021 |
16.10.0 | 276,954 | 5/25/2021 |
16.9.0 | 1,367,434 | 3/2/2021 |
16.8.0 | 2,139,175 | 11/11/2020 |
16.7.0 | 133,509 | 9/30/2020 |
16.6.0 | 377,946 | 6/9/2020 |
16.5.0 | 613,520 | 3/16/2020 |
16.4.0 | 495,828 | 12/4/2019 |
16.3.0 | 1,050,224 | 9/26/2019 |
16.0.461 | 1,756,449 | 4/3/2019 |
15.9.20 | 2,689,276 | 11/21/2018 |
15.8.166 | 2,083,671 | 8/14/2018 |
15.7.179 | 4,531,303 | 5/21/2018 |
15.7.0-preview-000145 | 3,764 | 4/10/2018 |
15.7.0-preview-000011-1378327 | 746,797 | 4/5/2018 |
15.6.85 | 70,060 | 4/5/2018 |
15.6.84 | 1,488 | 4/5/2018 |
15.6.82 | 957,520 | 2/26/2018 |
15.5.180 | 104,567 | 12/6/2017 |
15.5.179 | 12,099 | 12/6/2017 |
15.4.8 | 340,576 | 12/6/2017 |
15.3.409 | 28,193,337 | 8/11/2017 |
15.3.0-preview-000388-01 | 146,701 | 6/27/2017 |
15.3.0-preview-000117-01 | 105,093 | 5/9/2017 |
15.1.1012 | 259,969 | 4/11/2017 |
15.1.548 | 5,474,701 | 3/2/2017 |
15.1.0-preview-000545-01 | 18,092 | 2/7/2017 |
15.1.0-preview-000523-01 | 616,606 | 1/26/2017 |
15.1.0-preview-000458-02 | 980,304 | 12/14/2016 |
15.1.0-preview-000370-00 | 77,031 | 11/4/2016 |
14.3.0 | 967,788 | 9/9/2016 |