Microsoft.CodeAnalysis.Workspaces.MSBuild 5.0.0

Prefix Reserved
dotnet add package Microsoft.CodeAnalysis.Workspaces.MSBuild --version 5.0.0
                    
NuGet\Install-Package Microsoft.CodeAnalysis.Workspaces.MSBuild -Version 5.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="5.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="5.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.CodeAnalysis.Workspaces.MSBuild --version 5.0.0
                    
#r "nuget: Microsoft.CodeAnalysis.Workspaces.MSBuild, 5.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.CodeAnalysis.Workspaces.MSBuild@5.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.CodeAnalysis.Workspaces.MSBuild&version=5.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.CodeAnalysis.Workspaces.MSBuild&version=5.0.0
                    
Install as a Cake Tool

.NET Compiler Platform ("Roslyn") support for analyzing MSBuild projects and solutions. This should be used with at least one
     of the following packages to add the appropriate language support:
     - Microsoft.CodeAnalysis.CSharp.Workspaces
     - Microsoft.CodeAnalysis.VisualBasic.Workspaces
   
     More details at https://aka.ms/roslyn-packages
     This package was built from the source at https://github.com/dotnet/roslyn/commit/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (131)

Showing the top 5 NuGet packages that depend on Microsoft.CodeAnalysis.Workspaces.MSBuild:

Package Downloads
Microsoft.EntityFrameworkCore.Design

Shared design-time components for Entity Framework Core tools.

Microsoft.VisualStudio.Web.CodeGenerators.Mvc

Code Generators for ASP.NET Core MVC. Contains code generators for MVC Controllers and Views.

Microsoft.VisualStudio.Web.CodeGeneration.Design

Code Generation tool for ASP.NET Core. Contains the dotnet-aspnet-codegenerator command used for generating controllers and views.

Microsoft.VisualStudio.Web.CodeGeneration

Contains the CodeGenCommand that finds the appropriate code generator and invokes it from project dependencies.

Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore

Contains Entity Framework Core Services used by ASP.NET Core Code Generators.

GitHub repositories (74)

Showing the top 20 popular GitHub repositories that depend on Microsoft.CodeAnalysis.Workspaces.MSBuild:

Repository Stars
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
MudBlazor/MudBlazor
Blazor Component Library based on Material Design principles with an emphasis on ease of use and extensibility
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
stride3d/stride
Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
umbraco/Umbraco-CMS
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
tModLoader/tModLoader
A mod to make and play Terraria mods. Supports Terraria 1.4 (and earlier) installations
dotnet/docfx
Static site generator for .NET API documentation.
riok/mapperly
A .NET source generator for generating object mappings. No runtime reflection.
scriban/scriban
A fast, powerful, safe and lightweight scripting language and engine for .NET
nuke-build/nuke
🏗 The AKEless Build System for C#/.NET
oskardudycz/EventSourcing.NetCore
Examples and Tutorials of Event Sourcing in .NET
dotnet/roslynator
Roslynator is a set of code analysis tools for C#, powered by Roslyn.
waf/CSharpRepl
A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
dafny-lang/dafny
Dafny is a verification-aware programming language
dotnet/interactive
.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
martinothamar/Mediator
A high performance implementation of Mediator pattern in .NET using source generators.
dotnet/sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
mono/monodevelop
MonoDevelop is a cross platform .NET IDE
DotNetAnalyzers/StyleCopAnalyzers
An implementation of StyleCop rules using the .NET Compiler Platform
smartstore/Smartstore
A modular, scalable and ultra-fast open-source all-in-one eCommerce platform built on ASP.NET Core 7
Version Downloads Last Updated
5.0.0 4,180 11/18/2025
5.0.0-2.final 14,211 10/9/2025
4.14.0 1,336,233 5/15/2025
4.13.0 550,843 2/24/2025
4.12.0 1,819,796 12/4/2024
4.12.0-3.final 11,534 10/29/2024
4.12.0-2.final 3,440 9/17/2024
4.12.0-1.final 7,688 8/14/2024
4.11.0 668,700 8/15/2024
4.11.0-3.final 202,519 7/31/2024
4.11.0-2.final 2,172 6/19/2024
4.10.0 247,765 6/10/2024
4.10.0-3.final 130,911 4/29/2024
4.10.0-2.final 14,536 3/19/2024
4.10.0-1.final 412 3/18/2024
4.9.2 769,823 3/2/2024
4.9.0-3.final 3,791 1/22/2024
4.9.0-2.final 46,307 12/16/2023
4.9.0-1.final 1,882 12/13/2023
4.8.0 50,699,232 11/22/2023
4.8.0-3.final 12,172 11/3/2023
4.8.0-2.final 16,956 9/20/2023
4.8.0-1.final 5,554 9/9/2023
4.7.0 314,648 8/18/2023
4.7.0-2.final 16,424 6/20/2023
4.7.0-1.final 8,291 5/20/2023
4.6.0 332,371 5/16/2023
4.6.0-1.final 39,612 3/3/2023
4.5.0 179,225 2/24/2023
4.5.0-2.final 2,930 1/6/2023
4.4.0 4,666,261 11/14/2022
4.4.0-4.final 58,870 10/22/2022
4.4.0-2.final 1,764 9/19/2022
4.4.0-1.final 1,561 8/16/2022
4.3.1 74,769 9/30/2022
4.3.0-3.final 2,850 7/26/2022
4.3.0-2.final 1,577 6/22/2022
4.3.0-1.final 5,138 5/10/2022
4.2.0 220,240 5/13/2022
4.2.0-4.final 766 4/27/2022
4.2.0-2.final 1,019 3/25/2022
4.2.0-1.final 747 2/18/2022
4.1.0 73,451 2/16/2022
4.1.0-3.final 10,863 1/27/2022
4.1.0-1.final 2,125 11/19/2021
4.0.1 3,580,549 11/9/2021
4.0.0-6.final 1,279 10/20/2021
4.0.0-5.final 672 10/11/2021
4.0.0-4.final 29,217 9/15/2021
4.0.0-3.final 37,950 8/12/2021
4.0.0-2.final 4,280 7/20/2021
4.0.0-1.final 2,654 7/7/2021
3.11.0 367,001 8/11/2021
3.11.0-3.final 554 7/15/2021
3.11.0-1.final 1,404 6/14/2021
3.10.0 144,181 6/11/2021
3.10.0-3.final 865 5/13/2021
3.10.0-2.final 816 4/20/2021
3.10.0-1.final 2,851 3/3/2021
3.9.0 331,343 3/2/2021
3.9.0-5.final 1,031 2/24/2021
3.9.0-4.final 1,112 2/10/2021
3.9.0-3.final 1,432 1/20/2021
3.9.0-2.final 4,411 12/10/2020
3.9.0-1.final 662 12/4/2020
3.8.0 1,155,816 11/13/2020
3.8.0-5.final 1,287 10/23/2020
3.8.0-4.final 1,254 10/13/2020
3.8.0-3.final 1,007 9/16/2020
3.8.0-2.final 749 9/1/2020
3.7.0 101,207 8/5/2020
3.7.0-4.final 819 7/14/2020
3.7.0-3.final 950 7/2/2020
3.7.0-2.final 754 6/15/2020
3.7.0-1.final 10,744 5/19/2020
3.6.0 424,808 5/19/2020
3.6.0-4.final 905 5/5/2020
3.6.0-3.final 1,086 4/16/2020
3.6.0-2.final 875 3/26/2020
3.6.0-1.final 820 3/17/2020
3.5.0 72,922 3/16/2020
3.5.0-beta3-final 12,123 2/19/2020
3.5.0-beta2-final 2,361 1/23/2020
3.5.0-beta1-final 7,001 12/3/2019
3.4.0 245,653 12/3/2019
3.4.0-beta4-final 4,338 11/15/2019
3.4.0-beta3-final 4,205 11/4/2019
3.4.0-beta2-final 2,149 10/15/2019
3.4.0-beta1-final 1,593 9/23/2019
3.3.1 59,326 9/23/2019
3.3.1-beta3-final 1,588 9/5/2019
3.3.0-beta2-final 1,664 8/15/2019
3.3.0-beta1-final 1,594 7/26/2019
3.2.1 73,679 8/9/2019
3.2.0 2,314 8/1/2019
3.2.0-beta4-final 1,466 7/16/2019
3.2.0-beta3-final 1,504 6/25/2019
3.2.0-beta1-final 1,603 5/21/2019
3.1.0 32,891 5/21/2019
3.1.0-beta3-final 1,636 5/7/2019
3.1.0-beta2-final 1,577 4/24/2019
3.1.0-beta1-final 1,631 4/10/2019
3.0.0 18,754 4/2/2019
3.0.0-beta4-final 2,089 2/27/2019
3.0.0-beta3-final 4,093 2/14/2019
3.0.0-beta2-final 2,084 1/24/2019
2.11.0-beta1-final 4,327 12/11/2018
2.10.0 297,279 11/15/2018
2.9.0 104,292 8/17/2018