Microsoft.CodeAnalysis 5.0.0

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.CodeAnalysis --version 5.0.0
                    
NuGet\Install-Package Microsoft.CodeAnalysis -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" 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" Version="5.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.CodeAnalysis" />
                    
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 --version 5.0.0
                    
#r "nuget: Microsoft.CodeAnalysis, 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@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&version=5.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.CodeAnalysis&version=5.0.0
                    
Install as a Cake Tool

.NET Compiler Platform ("Roslyn").

     This is the all-in-one package (a superset of all assemblies). You can install any of these sub-packages if you only want part of the functionality:
     - "Microsoft.CodeAnalysis.CSharp.Workspaces" (C# compiler + services)
     - "Microsoft.CodeAnalysis.VisualBasic.Workspaces" (VB compiler + services)
     - "Microsoft.CodeAnalysis.Compilers" (both compilers)
     - "Microsoft.CodeAnalysis.CSharp" (only the C# compiler)
     - "Microsoft.CodeAnalysis.VisualBasic (only the VB compiler)
   
     More details at https://aka.ms/roslyn-packages
     This package was built from the source at https://github.com/dotnet/roslyn/commit/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (560)

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

Package Downloads
JasperFx.RuntimeCompiler

Runtime Roslyn Compilation and Code Generation Chicanery

eXpandSecurity

Security Module / eXpandFramework. To debug in VS enable Source Server support under Tools/Options/Debugging.

LamarCompiler

Runtime Roslyn Compilation and Code Generation Chicanery

eXpandLogic

JobSheduler Module / eXpandFramework. To debug in VS enable Source Server support under Tools/Options/Debugging.

eXpandValidation

Validation Module / eXpandFramework. To debug in VS enable Source Server support under Tools/Options/Debugging.

GitHub repositories (155)

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

Repository Stars
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
microsoft/garnet
Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
dotnet/orleans
Cloud Native application framework for .NET
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!!
graphql-dotnet/graphql-dotnet
GraphQL for .NET
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.
Cysharp/MagicOnion
Unified Realtime/API framework for .NET platform and Unity.
dotnet/samples
Sample code referenced by the .NET documentation
discord-net/Discord.Net
An unofficial .Net wrapper for the Discord API (https://discord.com/)
microsoft/Power-Fx
Power Fx low-code programming language
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.
isadorasophia/murder
Murder is a pixel art ECS game engine.
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
dotnet/sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
PomeloFoundation/Pomelo.EntityFrameworkCore.MySql
Entity Framework Core provider for MySQL and MariaDB built on top of MySqlConnector
rubberduck-vba/Rubberduck
Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
Version Downloads Last Updated
5.3.0-2.final 156 2/2/2026
5.0.0 604,665 11/18/2025
5.0.0-2.final 7,827 10/9/2025
4.14.0 3,312,054 5/15/2025
4.13.0 1,202,372 2/24/2025
4.12.0 1,554,980 12/4/2024
4.12.0-3.final 11,763 10/29/2024
4.12.0-2.final 12,509 9/17/2024
4.12.0-1.final 15,272 8/14/2024
4.11.0 4,470,359 8/15/2024
4.11.0-3.final 5,238 7/31/2024
4.11.0-2.final 7,213 6/19/2024
4.10.0 1,598,488 6/10/2024
4.10.0-3.final 9,454 4/29/2024
4.10.0-2.final 9,706 3/19/2024
4.10.0-1.final 518 3/18/2024
4.9.2 2,242,606 3/2/2024
4.9.0-3.final 18,990 1/22/2024
4.9.0-2.final 56,310 12/16/2023
4.9.0-1.final 584 12/13/2023
4.8.0 6,169,559 11/22/2023
4.8.0-3.final 29,441 11/3/2023
4.8.0-2.final 22,148 9/20/2023
4.8.0-1.final 4,814 9/9/2023
4.7.0 2,152,597 8/18/2023
4.7.0-2.final 27,152 6/20/2023
4.7.0-1.final 30,029 5/20/2023
4.6.0 1,890,888 5/16/2023
4.6.0-1.final 211,368 3/3/2023
4.5.0 2,286,012 2/24/2023
4.5.0-2.final 23,798 1/6/2023
4.4.0 1,867,849 11/14/2022
4.4.0-4.final 96,609 10/22/2022
4.4.0-2.final 71,908 9/19/2022
4.4.0-1.final 4,299 8/16/2022
4.3.1 1,028,363 9/30/2022
4.3.0-3.final 4,354 7/26/2022
4.3.0-2.final 6,561 6/22/2022
4.3.0-1.final 18,653 5/10/2022
4.2.0 1,851,572 5/13/2022
4.2.0-4.final 7,926 4/27/2022
4.2.0-2.final 31,280 3/25/2022
4.2.0-1.final 9,094 2/18/2022
4.1.0 3,054,803 2/16/2022
4.1.0-3.final 9,779 1/27/2022
4.1.0-1.final 47,894 11/19/2021
4.0.1 2,562,753 11/9/2021
4.0.0-6.final 10,958 10/20/2021
4.0.0-5.final 1,564 10/11/2021
4.0.0-4.final 6,000 9/15/2021
4.0.0-3.final 2,481 8/12/2021
4.0.0-2.final 2,122 7/20/2021
4.0.0-1.final 18,256 7/7/2021
3.11.0 1,574,581 8/11/2021
3.11.0-3.final 870 7/15/2021
3.11.0-1.final 7,127 6/14/2021
3.10.0 313,693 6/11/2021
3.10.0-3.final 12,356 5/13/2021
3.10.0-2.final 1,799 4/20/2021
3.10.0-1.final 21,612 3/3/2021
3.9.0 1,469,034 3/2/2021
3.9.0-5.final 1,842 2/24/2021
3.9.0-4.final 1,572 2/10/2021
3.9.0-3.final 5,051 1/20/2021
3.9.0-2.final 6,308 12/10/2020
3.9.0-1.final 67,972 12/4/2020
3.8.0 3,053,995 11/13/2020
3.8.0-5.final 10,214 10/23/2020
3.8.0-4.final 2,727 10/13/2020
3.8.0-3.final 16,852 9/16/2020
3.8.0-2.final 1,426 9/1/2020
3.7.0 2,041,809 8/5/2020
3.7.0-4.final 6,158 7/14/2020
3.7.0-3.final 3,196 7/2/2020
3.7.0-2.final 3,022 6/15/2020
3.7.0-1.final 42,573 5/19/2020
3.6.0 655,204 5/19/2020
3.6.0-4.final 4,386 5/4/2020
3.6.0-3.final 1,318 4/16/2020
3.6.0-2.final 1,369 3/26/2020
3.6.0-1.final 3,167 3/17/2020
3.5.0 618,825 3/16/2020
3.5.0-beta3-final 15,037 2/19/2020
3.5.0-beta2-final 18,780 1/23/2020
3.5.0-beta1-final 12,128 12/3/2019
3.4.0 1,002,742 12/3/2019
3.4.0-beta4-final 13,589 11/15/2019
3.4.0-beta3-final 3,839 11/4/2019
3.4.0-beta2-final 46,763 10/15/2019
3.4.0-beta1-final 4,250 9/23/2019
3.3.1 12,528,721 9/23/2019
3.3.1-beta3-final 12,188 9/5/2019
3.3.0-beta2-final 4,012 8/15/2019
3.3.0-beta1-final 6,338 7/26/2019
3.2.1 239,416 8/9/2019
3.2.0 81,490 8/1/2019
3.2.0-beta4-final 4,274 7/16/2019
3.2.0-beta3-final 5,059 6/25/2019
3.2.0-beta1-final 4,659 5/21/2019
3.1.0 265,249 5/21/2019
3.1.0-beta3-final 7,585 5/7/2019
3.1.0-beta2-final 4,440 4/24/2019
3.1.0-beta1-final 3,785 4/10/2019
3.0.0 2,073,140 4/2/2019
3.0.0-beta4-final 6,479 2/27/2019
3.0.0-beta3-final 6,860 2/14/2019
3.0.0-beta2-final 6,021 1/24/2019
2.11.0-beta1-final 6,481 12/11/2018
2.10.0 1,476,016 11/15/2018
2.9.0 884,268 8/16/2018
2.8.2 8,421,832 5/22/2018
2.8.0 767,182 5/1/2018
2.8.0-beta4 5,570 4/20/2018
2.8.0-beta3 9,243 4/12/2018
2.7.0 144,673 3/8/2018
2.6.1 398,290 12/14/2017
2.6.0 106,905 12/8/2017
2.6.0-beta3 7,408 11/22/2017
2.4.0 266,464 10/16/2017
2.3.2 106,807 8/31/2017
2.3.1 189,389 7/20/2017
2.3.0 42,681 7/11/2017
2.3.0-beta3 4,893 7/6/2017
2.3.0-beta2 5,221 6/15/2017
2.3.0-beta1 10,178 5/30/2017
2.2.0 59,928 5/30/2017
2.1.0 71,107 4/21/2017
2.0.0 136,203 3/9/2017
2.0.0-rc4 9,035 2/8/2017
2.0.0-rc3 5,137 1/30/2017
2.0.0-rc2 13,813 12/14/2016
2.0.0-rc 5,628 11/18/2016
2.0.0-beta5 6,110 10/18/2016
2.0.0-beta4 5,201 10/12/2016
2.0.0-beta3 12,240 7/13/2016
2.0.0-beta1 11,221 3/31/2016
1.3.2 431,819 7/1/2016
1.3.1 118,700 7/1/2016
1.3.0 99,399 6/27/2016
1.3.0-beta1-20160429-01 5,148 5/16/2016
1.2.2 62,523 5/17/2016
1.2.1 103,526 3/31/2016
1.2.0 364,416 3/31/2016
1.2.0-rc 6,145 3/5/2016
1.2.0-beta1-20160202-02 6,550 2/2/2016
1.1.1 90,950 12/3/2015
1.1.0 26,841 11/30/2015
1.1.0-rc1-20151109-01 5,941 11/14/2015
1.1.0-rc1 6,821 10/19/2015
1.1.0-beta1-20150928-02 5,697 10/15/2015
1.1.0-beta1-20150812-01 6,132 8/26/2015
1.1.0-beta1 7,583 10/9/2015
1.0.1 92,714 12/21/2016
1.0.0 234,177 7/13/2015
1.0.0-rc3 17,604 6/17/2015
1.0.0-rc2 374,289 4/24/2015
1.0.0-rc1 16,644 2/14/2015
1.0.0-beta2 17,474 1/16/2015
1.0.0-beta1-20141031-01 11,554 11/11/2014
0.7.4091001-beta 9,336 9/22/2014
0.7.4080704-beta 9,104 8/20/2014
0.7.4052301-beta 10,411 6/3/2014
0.6.4033103-beta 12,120 4/1/2014