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 (496)

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 72,165 11/18/2025
5.0.0-2.final 5,410 10/9/2025
4.14.0 2,429,486 5/15/2025
4.13.0 1,081,305 2/24/2025
4.12.0 1,351,560 12/4/2024
4.12.0-3.final 11,265 10/29/2024
4.12.0-2.final 12,277 9/17/2024
4.12.0-1.final 14,704 8/14/2024
4.11.0 4,113,993 8/15/2024
4.11.0-3.final 4,437 7/31/2024
4.11.0-2.final 6,991 6/19/2024
4.10.0 1,461,428 6/10/2024
4.10.0-3.final 9,208 4/29/2024
4.10.0-2.final 9,119 3/19/2024
4.10.0-1.final 422 3/18/2024
4.9.2 2,124,383 3/2/2024
4.9.0-3.final 17,398 1/22/2024
4.9.0-2.final 52,661 12/16/2023
4.9.0-1.final 493 12/13/2023
4.8.0 5,831,862 11/22/2023
4.8.0-3.final 28,710 11/3/2023
4.8.0-2.final 21,972 9/20/2023
4.8.0-1.final 4,720 9/9/2023
4.7.0 2,096,032 8/18/2023
4.7.0-2.final 26,687 6/20/2023
4.7.0-1.final 28,640 5/20/2023
4.6.0 1,723,749 5/16/2023
4.6.0-1.final 209,928 3/3/2023
4.5.0 2,243,956 2/24/2023
4.5.0-2.final 23,490 1/6/2023
4.4.0 1,826,058 11/14/2022
4.4.0-4.final 95,656 10/22/2022
4.4.0-2.final 71,594 9/19/2022
4.4.0-1.final 4,175 8/16/2022
4.3.1 995,396 9/30/2022
4.3.0-3.final 3,812 7/26/2022
4.3.0-2.final 6,397 6/22/2022
4.3.0-1.final 17,839 5/10/2022
4.2.0 1,815,077 5/13/2022
4.2.0-4.final 7,821 4/27/2022
4.2.0-2.final 31,181 3/25/2022
4.2.0-1.final 8,986 2/18/2022
4.1.0 3,011,213 2/16/2022
4.1.0-3.final 9,491 1/27/2022
4.1.0-1.final 47,731 11/19/2021
4.0.1 2,525,981 11/9/2021
4.0.0-6.final 10,833 10/20/2021
4.0.0-5.final 1,457 10/11/2021
4.0.0-4.final 5,892 9/15/2021
4.0.0-3.final 2,378 8/12/2021
4.0.0-2.final 1,987 7/20/2021
4.0.0-1.final 18,140 7/7/2021
3.11.0 1,528,223 8/11/2021
3.11.0-3.final 746 7/15/2021
3.11.0-1.final 6,728 6/14/2021
3.10.0 300,301 6/11/2021
3.10.0-3.final 12,257 5/13/2021
3.10.0-2.final 1,692 4/20/2021
3.10.0-1.final 21,459 3/3/2021
3.9.0 1,450,638 3/2/2021
3.9.0-5.final 1,718 2/24/2021
3.9.0-4.final 1,474 2/10/2021
3.9.0-3.final 4,770 1/20/2021
3.9.0-2.final 6,196 12/10/2020
3.9.0-1.final 67,822 12/4/2020
3.8.0 2,964,100 11/13/2020
3.8.0-5.final 10,110 10/23/2020
3.8.0-4.final 2,618 10/13/2020
3.8.0-3.final 16,692 9/16/2020
3.8.0-2.final 1,283 9/1/2020
3.7.0 1,996,370 8/5/2020
3.7.0-4.final 5,944 7/14/2020
3.7.0-3.final 3,043 7/2/2020
3.7.0-2.final 2,862 6/15/2020
3.7.0-1.final 42,435 5/19/2020
3.6.0 639,259 5/19/2020
3.6.0-4.final 4,139 5/4/2020
3.6.0-3.final 1,207 4/16/2020
3.6.0-2.final 1,257 3/26/2020
3.6.0-1.final 3,055 3/17/2020
3.5.0 607,312 3/16/2020
3.5.0-beta3-final 14,671 2/19/2020
3.5.0-beta2-final 18,669 1/23/2020
3.5.0-beta1-final 12,021 12/3/2019
3.4.0 986,865 12/3/2019
3.4.0-beta4-final 13,459 11/15/2019
3.4.0-beta3-final 3,745 11/4/2019
3.4.0-beta2-final 46,620 10/15/2019
3.4.0-beta1-final 4,155 9/23/2019
3.3.1 12,170,167 9/23/2019
3.3.1-beta3-final 12,084 9/5/2019
3.3.0-beta2-final 3,908 8/15/2019
3.3.0-beta1-final 6,243 7/26/2019
3.2.1 228,953 8/9/2019
3.2.0 71,899 8/1/2019
3.2.0-beta4-final 4,129 7/16/2019
3.2.0-beta3-final 4,954 6/25/2019
3.2.0-beta1-final 4,567 5/21/2019
3.1.0 254,921 5/21/2019
3.1.0-beta3-final 7,489 5/7/2019
3.1.0-beta2-final 4,346 4/24/2019
3.1.0-beta1-final 3,681 4/10/2019
3.0.0 1,533,436 4/2/2019
3.0.0-beta4-final 6,317 2/27/2019
3.0.0-beta3-final 6,700 2/14/2019
3.0.0-beta2-final 5,839 1/24/2019
2.11.0-beta1-final 6,301 12/11/2018
2.10.0 1,453,665 11/15/2018
2.9.0 852,415 8/16/2018
2.8.2 8,402,085 5/22/2018
2.8.0 752,977 5/1/2018
2.8.0-beta4 5,414 4/20/2018
2.8.0-beta3 9,021 4/12/2018
2.7.0 134,789 3/8/2018
2.6.1 383,094 12/14/2017
2.6.0 96,522 12/8/2017
2.6.0-beta3 7,173 11/22/2017
2.4.0 254,727 10/16/2017
2.3.2 96,816 8/31/2017
2.3.1 179,554 7/20/2017
2.3.0 33,048 7/11/2017
2.3.0-beta3 4,714 7/6/2017
2.3.0-beta2 5,060 6/15/2017
2.3.0-beta1 10,018 5/30/2017
2.2.0 50,237 5/30/2017
2.1.0 61,276 4/21/2017
2.0.0 131,011 3/9/2017
2.0.0-rc4 8,877 2/8/2017
2.0.0-rc3 4,980 1/30/2017
2.0.0-rc2 13,625 12/14/2016
2.0.0-rc 5,469 11/18/2016
2.0.0-beta5 5,951 10/18/2016
2.0.0-beta4 5,036 10/12/2016
2.0.0-beta3 12,061 7/13/2016
2.0.0-beta1 11,060 3/31/2016
1.3.2 420,827 7/1/2016
1.3.1 108,146 7/1/2016
1.3.0 93,891 6/27/2016
1.3.0-beta1-20160429-01 4,990 5/16/2016
1.2.2 53,275 5/17/2016
1.2.1 93,941 3/31/2016
1.2.0 354,350 3/31/2016
1.2.0-rc 5,983 3/5/2016
1.2.0-beta1-20160202-02 6,269 2/2/2016
1.1.1 81,663 12/3/2015
1.1.0 22,185 11/30/2015
1.1.0-rc1-20151109-01 5,780 11/14/2015
1.1.0-rc1 6,534 10/19/2015
1.1.0-beta1-20150928-02 5,532 10/15/2015
1.1.0-beta1-20150812-01 5,963 8/26/2015
1.1.0-beta1 7,177 10/9/2015
1.0.1 87,762 12/21/2016
1.0.0 223,288 7/13/2015
1.0.0-rc3 16,194 6/17/2015
1.0.0-rc2 372,075 4/24/2015
1.0.0-rc1 16,122 2/14/2015
1.0.0-beta2 17,239 1/16/2015
1.0.0-beta1-20141031-01 11,299 11/11/2014
0.7.4091001-beta 9,088 9/22/2014
0.7.4080704-beta 8,861 8/20/2014
0.7.4052301-beta 10,176 6/3/2014
0.6.4033103-beta 11,802 4/1/2014