Microsoft.CodeAnalysis 5.0.0

Prefix Reserved
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 (497)

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

Package Downloads
JasperFx.RuntimeCompiler

Runtime Roslyn Compilation and Code Generation Chicanery

LamarCompiler

Runtime Roslyn Compilation and Code Generation Chicanery

MongoDBMigrations

MongoDbMigrations uses the official MongoDB C# Driver to migrate your documents in your mongo database via useful fluent API. Supports up and down migrations with cancelation and progress handling. Also, this library is able to check a schema of collections in your database during the migration run. This version supports on-premise Mongo database either Azure CosmosDB (with Mongo-like API) or even AWS DocumentDB. In addition you can use TLS and/or SHH tunnels in your migrations. PS1 script for integration with CI/CD pipelines provides inside of the repository

eXpandAdditionalViewControlsProviderWin

AdditionalViewControlsProvider Module (Win) / eXpandFramework. To debug in VS enable Source Server support under Tools/Options/Debugging.

eXpandIOWin

IO Module (Win) / 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.
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
isadorasophia/murder
Murder is a pixel art ECS game engine.
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
dotnet/android
.NET for Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
Version Downloads Last Updated
5.0.0 148,689 11/18/2025
5.0.0-2.final 5,856 10/9/2025
4.14.0 2,628,247 5/15/2025
4.13.0 1,111,431 2/24/2025
4.12.0 1,392,507 12/4/2024
4.12.0-3.final 11,377 10/29/2024
4.12.0-2.final 12,336 9/17/2024
4.12.0-1.final 14,834 8/14/2024
4.11.0 4,191,940 8/15/2024
4.11.0-3.final 4,604 7/31/2024
4.11.0-2.final 7,035 6/19/2024
4.10.0 1,495,247 6/10/2024
4.10.0-3.final 9,259 4/29/2024
4.10.0-2.final 9,222 3/19/2024
4.10.0-1.final 439 3/18/2024
4.9.2 2,152,482 3/2/2024
4.9.0-3.final 17,653 1/22/2024
4.9.0-2.final 53,417 12/16/2023
4.9.0-1.final 510 12/13/2023
4.8.0 5,901,937 11/22/2023
4.8.0-3.final 28,917 11/3/2023
4.8.0-2.final 21,997 9/20/2023
4.8.0-1.final 4,736 9/9/2023
4.7.0 2,109,881 8/18/2023
4.7.0-2.final 26,763 6/20/2023
4.7.0-1.final 29,000 5/20/2023
4.6.0 1,762,861 5/16/2023
4.6.0-1.final 210,558 3/3/2023
4.5.0 2,253,835 2/24/2023
4.5.0-2.final 23,555 1/6/2023
4.4.0 1,835,860 11/14/2022
4.4.0-4.final 95,845 10/22/2022
4.4.0-2.final 71,619 9/19/2022
4.4.0-1.final 4,193 8/16/2022
4.3.1 1,003,926 9/30/2022
4.3.0-3.final 4,009 7/26/2022
4.3.0-2.final 6,428 6/22/2022
4.3.0-1.final 18,022 5/10/2022
4.2.0 1,824,683 5/13/2022
4.2.0-4.final 7,844 4/27/2022
4.2.0-2.final 31,201 3/25/2022
4.2.0-1.final 9,008 2/18/2022
4.1.0 3,022,058 2/16/2022
4.1.0-3.final 9,519 1/27/2022
4.1.0-1.final 47,765 11/19/2021
4.0.1 2,537,011 11/9/2021
4.0.0-6.final 10,869 10/20/2021
4.0.0-5.final 1,476 10/11/2021
4.0.0-4.final 5,916 9/15/2021
4.0.0-3.final 2,399 8/12/2021
4.0.0-2.final 2,026 7/20/2021
4.0.0-1.final 18,167 7/7/2021
3.11.0 1,538,125 8/11/2021
3.11.0-3.final 773 7/15/2021
3.11.0-1.final 6,824 6/14/2021
3.10.0 304,375 6/11/2021
3.10.0-3.final 12,278 5/13/2021
3.10.0-2.final 1,718 4/20/2021
3.10.0-1.final 21,509 3/3/2021
3.9.0 1,455,863 3/2/2021
3.9.0-5.final 1,742 2/24/2021
3.9.0-4.final 1,496 2/10/2021
3.9.0-3.final 4,809 1/20/2021
3.9.0-2.final 6,220 12/10/2020
3.9.0-1.final 67,850 12/4/2020
3.8.0 2,987,345 11/13/2020
3.8.0-5.final 10,134 10/23/2020
3.8.0-4.final 2,640 10/13/2020
3.8.0-3.final 16,715 9/16/2020
3.8.0-2.final 1,307 9/1/2020
3.7.0 2,009,717 8/5/2020
3.7.0-4.final 6,015 7/14/2020
3.7.0-3.final 3,085 7/2/2020
3.7.0-2.final 2,886 6/15/2020
3.7.0-1.final 42,457 5/19/2020
3.6.0 643,507 5/19/2020
3.6.0-4.final 4,198 5/4/2020
3.6.0-3.final 1,234 4/16/2020
3.6.0-2.final 1,283 3/26/2020
3.6.0-1.final 3,077 3/17/2020
3.5.0 611,029 3/16/2020
3.5.0-beta3-final 14,746 2/19/2020
3.5.0-beta2-final 18,692 1/23/2020
3.5.0-beta1-final 12,042 12/3/2019
3.4.0 991,370 12/3/2019
3.4.0-beta4-final 13,511 11/15/2019
3.4.0-beta3-final 3,766 11/4/2019
3.4.0-beta2-final 46,655 10/15/2019
3.4.0-beta1-final 4,177 9/23/2019
3.3.1 12,244,612 9/23/2019
3.3.1-beta3-final 12,106 9/5/2019
3.3.0-beta2-final 3,929 8/15/2019
3.3.0-beta1-final 6,266 7/26/2019
3.2.1 232,487 8/9/2019
3.2.0 75,152 8/1/2019
3.2.0-beta4-final 4,150 7/16/2019
3.2.0-beta3-final 4,975 6/25/2019
3.2.0-beta1-final 4,591 5/21/2019
3.1.0 258,269 5/21/2019
3.1.0-beta3-final 7,511 5/7/2019
3.1.0-beta2-final 4,371 4/24/2019
3.1.0-beta1-final 3,704 4/10/2019
3.0.0 1,609,509 4/2/2019
3.0.0-beta4-final 6,354 2/27/2019
3.0.0-beta3-final 6,737 2/14/2019
3.0.0-beta2-final 5,878 1/24/2019
2.11.0-beta1-final 6,333 12/11/2018
2.10.0 1,459,390 11/15/2018
2.9.0 860,083 8/16/2018
2.8.2 8,407,265 5/22/2018
2.8.0 757,449 5/1/2018
2.8.0-beta4 5,454 4/20/2018
2.8.0-beta3 9,075 4/12/2018
2.7.0 138,111 3/8/2018
2.6.1 387,257 12/14/2017
2.6.0 99,953 12/8/2017
2.6.0-beta3 7,214 11/22/2017
2.4.0 258,616 10/16/2017
2.3.2 100,141 8/31/2017
2.3.1 182,823 7/20/2017
2.3.0 36,327 7/11/2017
2.3.0-beta3 4,758 7/6/2017
2.3.0-beta2 5,100 6/15/2017
2.3.0-beta1 10,059 5/30/2017
2.2.0 53,526 5/30/2017
2.1.0 64,654 4/21/2017
2.0.0 131,139 3/9/2017
2.0.0-rc4 8,916 2/8/2017
2.0.0-rc3 5,016 1/30/2017
2.0.0-rc2 13,664 12/14/2016
2.0.0-rc 5,505 11/18/2016
2.0.0-beta5 5,987 10/18/2016
2.0.0-beta4 5,074 10/12/2016
2.0.0-beta3 12,107 7/13/2016
2.0.0-beta1 11,097 3/31/2016
1.3.2 424,566 7/1/2016
1.3.1 111,146 7/1/2016
1.3.0 95,095 6/27/2016
1.3.0-beta1-20160429-01 5,030 5/16/2016
1.2.2 56,067 5/17/2016
1.2.1 96,776 3/31/2016
1.2.0 357,228 3/31/2016
1.2.0-rc 6,021 3/5/2016
1.2.0-beta1-20160202-02 6,341 2/2/2016
1.1.1 84,474 12/3/2015
1.1.0 23,199 11/30/2015
1.1.0-rc1-20151109-01 5,816 11/14/2015
1.1.0-rc1 6,610 10/19/2015
1.1.0-beta1-20150928-02 5,570 10/15/2015
1.1.0-beta1-20150812-01 6,006 8/26/2015
1.1.0-beta1 7,286 10/9/2015
1.0.1 89,895 12/21/2016
1.0.0 226,325 7/13/2015
1.0.0-rc3 16,469 6/17/2015
1.0.0-rc2 372,610 4/24/2015
1.0.0-rc1 16,258 2/14/2015
1.0.0-beta2 17,292 1/16/2015
1.0.0-beta1-20141031-01 11,363 11/11/2014
0.7.4091001-beta 9,136 9/22/2014
0.7.4080704-beta 8,913 8/20/2014
0.7.4052301-beta 10,231 6/3/2014
0.6.4033103-beta 11,872 4/1/2014