Microsoft.CodeAnalysis.CSharp 2.3.0-beta2

Prefix Reserved
This is a prerelease version of Microsoft.CodeAnalysis.CSharp.
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 3.3 or higher.

dotnet add package Microsoft.CodeAnalysis.CSharp --version 2.3.0-beta2
                    
NuGet\Install-Package Microsoft.CodeAnalysis.CSharp -Version 2.3.0-beta2
                    
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.CSharp" Version="2.3.0-beta2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="2.3.0-beta2" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" />
                    
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.CSharp --version 2.3.0-beta2
                    
#r "nuget: Microsoft.CodeAnalysis.CSharp, 2.3.0-beta2"
                    
#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.CSharp@2.3.0-beta2
                    
#: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.CSharp&version=2.3.0-beta2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.CodeAnalysis.CSharp&version=2.3.0-beta2&prerelease
                    
Install as a Cake Tool

.NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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 was computed.  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 Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2.0K)

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

Package Downloads
Microsoft.EntityFrameworkCore.Design

Shared design-time components for Entity Framework Core tools.

Microsoft.CodeAnalysis.Razor

Razor is a markup syntax for adding server-side logic to web pages. This package contains the Razor design-time infrastructure. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/64ea4108e7dcf1ca575f8dd2028363b0b1ef6ebc

Microsoft.CodeAnalysis.CSharp.Workspaces

.NET Compiler Platform ("Roslyn") support for analyzing C# projects and solutions. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/1ff281352c76f1a56ae8e49af9c4c4ef0e0f0f42.

Microsoft.AspNetCore.Mvc.Razor

ASP.NET Core MVC Razor view engine for CSHTML files.

Microsoft.VisualStudio.Web.CodeGenerators.Mvc

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

GitHub repositories (820)

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

Repository Stars
PowerShell/PowerShell
PowerShell for every system!
files-community/Files
A modern file manager that helps users organize their files and folders.
dotnet/aspnetcore
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
DevToys-app/DevToys
A Swiss Army knife for developers.
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
MaterialDesignInXAML/MaterialDesignInXamlToolkit
Google's Material Design in XAML & WPF, for C# & VB.Net.
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
chocolatey/choco
Chocolatey - the package manager for Windows
dotnet/orleans
Cloud Native application framework for .NET
gui-cs/Terminal.Gui
Cross Platform Terminal UI toolkit for .NET
Cysharp/UniTask
Provides an efficient allocation free async/await integration for Unity.
restsharp/RestSharp
Simple REST and HTTP API Client for .NET
MudBlazor/MudBlazor
Blazor Component Library based on Material Design principles with an emphasis on ease of use and extensibility
Version Downloads Last Updated
5.0.0-2.final 4,246 10/9/2025
4.14.0 6,285,515 5/15/2025
4.13.0 6,120,551 2/24/2025
4.12.0 6,683,187 12/4/2024
4.12.0-3.final 132,306 10/29/2024
4.12.0-2.final 71,982 9/17/2024
4.12.0-1.final 172,179 8/14/2024
4.11.0 13,697,510 8/15/2024
4.11.0-3.final 198,152 7/31/2024
4.11.0-2.final 31,179 6/19/2024
4.10.0 7,897,896 6/10/2024
4.10.0-3.final 183,737 4/29/2024
4.10.0-2.final 76,406 3/19/2024
4.10.0-1.final 1,411 3/18/2024
4.9.2 10,864,895 3/2/2024
4.9.0-3.final 943,057 1/22/2024
4.9.0-2.final 81,577 12/16/2023
4.9.0-1.final 6,192 12/13/2023
4.8.0 90,165,120 11/22/2023
4.8.0-3.final 5,249,473 11/3/2023
4.8.0-2.final 385,244 9/20/2023
4.8.0-1.final 23,429 9/9/2023
4.7.0 9,690,282 8/18/2023
4.7.0-2.final 95,030 6/20/2023
4.7.0-1.final 141,830 5/20/2023
4.6.0 5,451,774 5/16/2023
4.6.0-1.final 412,384 3/6/2023
4.5.0 143,330,358 2/24/2023
4.5.0-2.final 196,625 1/6/2023
4.4.0 20,807,558 11/14/2022
4.4.0-4.final 320,648 10/22/2022
4.4.0-2.final 926,697 9/19/2022
4.4.0-1.final 91,403 8/16/2022
4.3.1 6,498,945 9/30/2022
4.3.0-3.final 65,679 7/26/2022
4.3.0-2.final 26,745 6/22/2022
4.3.0-1.final 106,914 5/10/2022
4.2.0 11,360,964 5/13/2022
4.2.0-4.final 21,085 4/27/2022
4.2.0-2.final 43,472 3/25/2022
4.2.0-1.final 29,163 2/18/2022
4.1.0 25,742,741 2/16/2022
4.1.0-3.final 30,780 1/27/2022
4.1.0-1.final 100,797 11/19/2021
4.0.1 26,369,813 11/9/2021
4.0.0-6.final 219,800 10/20/2021
4.0.0-5.final 28,217 10/11/2021
4.0.0-4.final 68,986 9/15/2021
4.0.0-3.final 717,687 8/12/2021
4.0.0-2.final 23,881 7/20/2021
4.0.0-1.final 34,798 7/7/2021
3.11.0 16,898,364 8/11/2021
3.11.0-3.final 1,031 7/15/2021
3.11.0-1.final 43,146 6/14/2021
3.10.0 3,060,744 6/11/2021
3.10.0-3.final 51,827 5/13/2021
3.10.0-2.final 27,515 4/20/2021
3.10.0-1.final 110,519 3/3/2021
3.9.0 9,607,064 3/2/2021
3.9.0-5.final 3,009 2/24/2021
3.9.0-4.final 8,442 2/10/2021
3.9.0-3.final 31,039 1/20/2021
3.9.0-2.final 71,991 12/10/2020
3.9.0-1.final 81,146 12/4/2020
3.8.0 43,746,479 11/13/2020
3.8.0-5.final 51,789 10/23/2020
3.8.0-4.final 11,336 10/13/2020
3.8.0-3.final 64,337 9/16/2020
3.8.0-2.final 6,431 9/1/2020
3.7.0 19,265,886 8/5/2020
3.7.0-4.final 11,662 7/14/2020
3.7.0-3.final 119,761 7/2/2020
3.7.0-2.final 21,991 6/15/2020
3.7.0-1.final 77,950 5/19/2020
3.6.0 12,960,375 5/19/2020
3.6.0-4.final 9,982 5/4/2020
3.6.0-3.final 35,498 4/16/2020
3.6.0-2.final 57,622 3/26/2020
3.6.0-1.final 46,924 3/17/2020
3.5.0 3,695,611 3/16/2020
3.5.0-beta3-final 33,591 2/19/2020
3.5.0-beta2-final 40,149 1/23/2020
3.5.0-beta1-final 47,609 12/3/2019
3.4.0 10,988,587 12/3/2019
3.4.0-beta4-final 35,506 11/15/2019
3.4.0-beta3-final 48,564 11/4/2019
3.4.0-beta2-final 591,619 10/15/2019
3.4.0-beta1-final 67,351 9/23/2019
3.3.1 80,319,786 9/23/2019
3.3.1-beta3-final 28,624 9/5/2019
3.3.0-beta2-final 25,944 8/15/2019
3.3.0-beta1-final 38,256 7/26/2019
3.2.1 1,252,360 8/9/2019
3.2.0 327,568 8/1/2019
3.2.0-beta4-final 14,307 7/16/2019
3.2.0-beta3-final 22,151 6/25/2019
3.2.0-beta1-final 182,079 5/21/2019
3.1.0 2,088,573 5/21/2019
3.1.0-beta3-final 118,854 5/7/2019
3.1.0-beta2-final 12,367 4/24/2019
3.1.0-beta1-final 70,602 4/10/2019
3.0.0 9,880,163 4/2/2019
3.0.0-beta4-final 177,044 2/27/2019
3.0.0-beta3-final 34,216 2/14/2019
3.0.0-beta2-final 20,731 1/24/2019
2.11.0-beta1-final 88,929 12/11/2018
2.10.0 25,435,824 11/15/2018
2.9.0 4,629,887 8/16/2018
2.8.2 14,553,624 5/22/2018
2.8.0 179,361,187 5/1/2018
2.8.0-beta4 13,670 4/20/2018
2.8.0-beta3 153,534 4/12/2018
2.7.0 1,833,600 3/8/2018
2.6.1 2,610,743 12/14/2017
2.6.0 228,943 12/8/2017
2.6.0-beta3 16,051 11/22/2017
2.4.0 838,033 10/16/2017
2.3.2 463,929 8/31/2017
2.3.1 50,442,244 7/20/2017
2.3.0 253,702 7/11/2017
2.3.0-beta3 13,167 7/6/2017
2.3.0-beta2 14,351 6/15/2017
2.3.0-beta1 132,673 5/30/2017
2.2.0 403,973 5/30/2017
2.1.0 1,107,329 4/21/2017
2.0.0 2,010,411 3/9/2017
2.0.0-rc4 121,240 2/8/2017
2.0.0-rc3 14,382 1/30/2017
2.0.0-rc2 28,665 12/14/2016
2.0.0-rc 756,060 11/18/2016
2.0.0-beta5 22,566 10/18/2016
2.0.0-beta4 15,059 10/12/2016
2.0.0-beta3 419,905 7/13/2016
2.0.0-beta1 91,038 3/31/2016
1.3.2 2,484,214 7/1/2016
1.3.1 376,522 7/1/2016
1.3.0 140,925,754 6/27/2016
1.3.0-beta1-20160429-01 2,237,514 5/16/2016
1.2.2 390,558 5/17/2016
1.2.1 261,833 3/31/2016
1.2.0 417,157 3/31/2016
1.2.0-rc 15,133 3/5/2016
1.2.0-beta1-20160202-02 85,494 2/2/2016
1.2.0-beta1-20160108-01 20,259 1/12/2016
1.1.1 2,786,239 12/3/2015
1.1.0 186,526 11/30/2015
1.1.0-rc1-20151109-01 466,202 11/14/2015
1.1.0-rc1 16,179 10/19/2015
1.1.0-beta1-20150928-02 85,920 10/15/2015
1.1.0-beta1-20150812-01 58,873 8/26/2015
1.1.0-beta1 26,484 10/9/2015
1.0.1 3,978,277 12/21/2016
1.0.0 2,570,622 7/13/2015
1.0.0-rc3 74,286 6/17/2015
1.0.0-rc2 546,871 4/24/2015
1.0.0-rc1 144,826 2/14/2015
1.0.0-beta2 72,013 1/16/2015
1.0.0-beta1-20141031-01 80,783 11/11/2014
0.7.4091001-beta 43,710 9/29/2014
0.7.4080704-beta 70,701 8/20/2014
0.7.4052301-beta 100,388 6/3/2014
0.6.4033103-beta 25,544 4/1/2014