Microsoft.CodeAnalysis 2.0.0-beta1

Prefix Reserved
This is a prerelease version of Microsoft.CodeAnalysis.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.CodeAnalysis --version 2.0.0-beta1
                    
NuGet\Install-Package Microsoft.CodeAnalysis -Version 2.0.0-beta1
                    
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="2.0.0-beta1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.CodeAnalysis" Version="2.0.0-beta1" />
                    
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 2.0.0-beta1
                    
#r "nuget: Microsoft.CodeAnalysis, 2.0.0-beta1"
                    
#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@2.0.0-beta1
                    
#: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=2.0.0-beta1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.CodeAnalysis&version=2.0.0-beta1&prerelease
                    
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)

Supported Platforms:
- .NET Framework 4.5

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (493)

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

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-2.final 3,042 10/9/2025
4.14.0 1,888,219 5/15/2025
4.13.0 1,008,527 2/24/2025
4.12.0 1,259,632 12/4/2024
4.12.0-3.final 11,085 10/29/2024
4.12.0-2.final 12,152 9/17/2024
4.12.0-1.final 14,474 8/14/2024
4.11.0 3,921,927 8/15/2024
4.11.0-3.final 4,157 7/31/2024
4.11.0-2.final 6,901 6/19/2024
4.10.0 1,385,402 6/10/2024
4.10.0-3.final 9,108 4/29/2024
4.10.0-2.final 8,714 3/19/2024
4.10.0-1.final 388 3/18/2024
4.9.2 2,045,738 3/2/2024
4.9.0-3.final 16,685 1/22/2024
4.9.0-2.final 50,935 12/16/2023
4.9.0-1.final 459 12/13/2023
4.8.0 5,653,420 11/22/2023
4.8.0-3.final 28,336 11/3/2023
4.8.0-2.final 21,897 9/20/2023
4.8.0-1.final 4,680 9/9/2023
4.7.0 2,069,768 8/18/2023
4.7.0-2.final 26,382 6/20/2023
4.7.0-1.final 27,888 5/20/2023
4.6.0 1,608,252 5/16/2023
4.6.0-1.final 208,752 3/3/2023
4.5.0 2,207,773 2/24/2023
4.5.0-2.final 23,383 1/6/2023
4.4.0 1,806,595 11/14/2022
4.4.0-4.final 95,254 10/22/2022
4.4.0-2.final 71,518 9/19/2022
4.4.0-1.final 4,138 8/16/2022
4.3.1 980,680 9/30/2022
4.3.0-3.final 3,383 7/26/2022
4.3.0-2.final 6,293 6/22/2022
4.3.0-1.final 17,538 5/10/2022
4.2.0 1,797,130 5/13/2022
4.2.0-4.final 7,784 4/27/2022
4.2.0-2.final 31,136 3/25/2022
4.2.0-1.final 8,939 2/18/2022
4.1.0 2,989,553 2/16/2022
4.1.0-3.final 9,449 1/27/2022
4.1.0-1.final 47,643 11/19/2021
4.0.1 2,490,687 11/9/2021
4.0.0-6.final 10,782 10/20/2021
4.0.0-5.final 1,412 10/11/2021
4.0.0-4.final 5,838 9/15/2021
4.0.0-3.final 2,332 8/12/2021
4.0.0-2.final 1,934 7/20/2021
4.0.0-1.final 18,073 7/7/2021
3.11.0 1,506,075 8/11/2021
3.11.0-3.final 705 7/15/2021
3.11.0-1.final 6,491 6/14/2021
3.10.0 295,460 6/11/2021
3.10.0-3.final 12,205 5/13/2021
3.10.0-2.final 1,648 4/20/2021
3.10.0-1.final 21,370 3/3/2021
3.9.0 1,443,549 3/2/2021
3.9.0-5.final 1,678 2/24/2021
3.9.0-4.final 1,434 2/10/2021
3.9.0-3.final 4,719 1/20/2021
3.9.0-2.final 6,141 12/10/2020
3.9.0-1.final 67,777 12/4/2020
3.8.0 2,899,170 11/13/2020
3.8.0-5.final 10,061 10/23/2020
3.8.0-4.final 2,564 10/13/2020
3.8.0-3.final 16,633 9/16/2020
3.8.0-2.final 1,229 9/1/2020
3.7.0 1,967,430 8/5/2020
3.7.0-4.final 5,861 7/14/2020
3.7.0-3.final 2,987 7/2/2020
3.7.0-2.final 2,787 6/15/2020
3.7.0-1.final 42,368 5/19/2020
3.6.0 632,557 5/19/2020
3.6.0-4.final 4,027 5/4/2020
3.6.0-3.final 1,168 4/16/2020
3.6.0-2.final 1,213 3/26/2020
3.6.0-1.final 3,011 3/17/2020
3.5.0 581,039 3/16/2020
3.5.0-beta3-final 14,506 2/19/2020
3.5.0-beta2-final 18,603 1/23/2020
3.5.0-beta1-final 11,971 12/3/2019
3.4.0 958,101 12/3/2019
3.4.0-beta4-final 13,415 11/15/2019
3.4.0-beta3-final 3,698 11/4/2019
3.4.0-beta2-final 46,569 10/15/2019
3.4.0-beta1-final 4,108 9/23/2019
3.3.1 11,961,975 9/23/2019
3.3.1-beta3-final 12,025 9/5/2019
3.3.0-beta2-final 3,859 8/15/2019
3.3.0-beta1-final 6,200 7/26/2019
3.2.1 226,010 8/9/2019
3.2.0 69,312 8/1/2019
3.2.0-beta4-final 4,081 7/16/2019
3.2.0-beta3-final 4,912 6/25/2019
3.2.0-beta1-final 4,518 5/21/2019
3.1.0 252,084 5/21/2019
3.1.0-beta3-final 7,436 5/7/2019
3.1.0-beta2-final 4,303 4/24/2019
3.1.0-beta1-final 3,634 4/10/2019
3.0.0 1,348,656 4/2/2019
3.0.0-beta4-final 6,247 2/27/2019
3.0.0-beta3-final 6,640 2/14/2019
3.0.0-beta2-final 5,763 1/24/2019
2.11.0-beta1-final 6,241 12/11/2018
2.10.0 1,438,639 11/15/2018
2.9.0 813,792 8/16/2018
2.8.2 8,378,814 5/22/2018
2.8.0 725,201 5/1/2018
2.8.0-beta4 5,331 4/20/2018
2.8.0-beta3 8,896 4/12/2018
2.7.0 125,627 3/8/2018
2.6.1 378,260 12/14/2017
2.6.0 93,448 12/8/2017
2.6.0-beta3 7,088 11/22/2017
2.4.0 234,621 10/16/2017
2.3.2 94,067 8/31/2017
2.3.1 170,437 7/20/2017
2.3.0 30,446 7/11/2017
2.3.0-beta3 4,612 7/6/2017
2.3.0-beta2 4,977 6/15/2017
2.3.0-beta1 9,932 5/30/2017
2.2.0 47,638 5/30/2017
2.1.0 35,874 4/21/2017
2.0.0 130,677 3/9/2017
2.0.0-rc4 8,792 2/8/2017
2.0.0-rc3 4,890 1/30/2017
2.0.0-rc2 13,516 12/14/2016
2.0.0-rc 5,382 11/18/2016
2.0.0-beta5 5,857 10/18/2016
2.0.0-beta4 4,949 10/12/2016
2.0.0-beta3 11,969 7/13/2016
2.0.0-beta1 10,976 3/31/2016
1.3.2 394,597 7/1/2016
1.3.1 105,751 7/1/2016
1.3.0 92,605 6/27/2016
1.3.0-beta1-20160429-01 4,900 5/16/2016
1.2.2 51,573 5/17/2016
1.2.1 91,956 3/31/2016
1.2.0 352,275 3/31/2016
1.2.0-rc 5,899 3/5/2016
1.2.0-beta1-20160202-02 6,101 2/2/2016
1.1.1 79,910 12/3/2015
1.1.0 22,084 11/30/2015
1.1.0-rc1-20151109-01 5,689 11/14/2015
1.1.0-rc1 6,361 10/19/2015
1.1.0-beta1-20150928-02 5,443 10/15/2015
1.1.0-beta1-20150812-01 5,871 8/26/2015
1.1.0-beta1 6,923 10/9/2015
1.0.1 61,802 12/21/2016
1.0.0 202,212 7/13/2015
1.0.0-rc3 15,627 6/17/2015
1.0.0-rc2 370,880 4/24/2015
1.0.0-rc1 15,856 2/14/2015
1.0.0-beta2 17,144 1/16/2015
1.0.0-beta1-20141031-01 11,195 11/11/2014
0.7.4091001-beta 8,981 9/22/2014
0.7.4080704-beta 8,759 8/20/2014
0.7.4052301-beta 10,074 6/3/2014
0.6.4033103-beta 11,647 4/1/2014

Preview of Microsoft .NET Compiler Platform (Roslyn)