Microsoft.CodeAnalysis.CSharp 2.8.0-beta4

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

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

     More details at https://aka.ms/roslyn-packages

     This package was built from the source at https://github.com/dotnet/roslyn/commit/9081e399a13297f6e2fd37cb06ca82ffba3eed21

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/8edf7bcd4f1594c3d68a6a567469f41dbd33dd1b.

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

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
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!!
Version Downloads Last Updated
4.14.0 4,872,487 5/15/2025
4.13.0 5,498,937 2/24/2025
4.12.0 6,240,943 12/4/2024
4.12.0-3.final 124,645 10/29/2024
4.12.0-2.final 71,148 9/17/2024
4.12.0-1.final 159,408 8/14/2024
4.11.0 12,968,660 8/15/2024
4.11.0-3.final 186,412 7/31/2024
4.11.0-2.final 30,859 6/19/2024
4.10.0 7,352,221 6/10/2024
4.10.0-3.final 183,093 4/29/2024
4.10.0-2.final 75,442 3/19/2024
4.10.0-1.final 1,354 3/18/2024
4.9.2 10,370,633 3/2/2024
4.9.0-3.final 941,728 1/22/2024
4.9.0-2.final 80,053 12/16/2023
4.9.0-1.final 6,156 12/13/2023
4.8.0 83,861,503 11/22/2023
4.8.0-3.final 5,145,671 11/3/2023
4.8.0-2.final 372,200 9/20/2023
4.8.0-1.final 22,424 9/9/2023
4.7.0 9,371,898 8/18/2023
4.7.0-2.final 94,608 6/20/2023
4.7.0-1.final 140,988 5/20/2023
4.6.0 5,302,568 5/16/2023
4.6.0-1.final 402,790 3/6/2023
4.5.0 138,024,797 2/24/2023
4.5.0-2.final 194,568 1/6/2023
4.4.0 20,519,125 11/14/2022
4.4.0-4.final 320,164 10/22/2022
4.4.0-2.final 916,506 9/19/2022
4.4.0-1.final 91,131 8/16/2022
4.3.1 6,344,106 9/30/2022
4.3.0-3.final 62,308 7/26/2022
4.3.0-2.final 26,657 6/22/2022
4.3.0-1.final 106,593 5/10/2022
4.2.0 11,197,428 5/13/2022
4.2.0-4.final 20,983 4/27/2022
4.2.0-2.final 43,433 3/25/2022
4.2.0-1.final 29,076 2/18/2022
4.1.0 25,054,934 2/16/2022
4.1.0-3.final 30,713 1/27/2022
4.1.0-1.final 100,606 11/19/2021
4.0.1 25,886,899 11/9/2021
4.0.0-6.final 216,420 10/20/2021
4.0.0-5.final 28,074 10/11/2021
4.0.0-4.final 68,794 9/15/2021
4.0.0-3.final 715,419 8/12/2021
4.0.0-2.final 23,669 7/20/2021
4.0.0-1.final 34,591 7/7/2021
3.11.0 16,683,042 8/11/2021
3.11.0-3.final 997 7/15/2021
3.11.0-1.final 42,861 6/14/2021
3.10.0 3,005,751 6/11/2021
3.10.0-3.final 51,466 5/13/2021
3.10.0-2.final 27,395 4/20/2021
3.10.0-1.final 109,882 3/3/2021
3.9.0 9,393,470 3/2/2021
3.9.0-5.final 2,980 2/24/2021
3.9.0-4.final 8,385 2/10/2021
3.9.0-3.final 30,956 1/20/2021
3.9.0-2.final 70,622 12/10/2020
3.9.0-1.final 81,108 12/4/2020
3.8.0 43,331,000 11/13/2020
3.8.0-5.final 51,725 10/23/2020
3.8.0-4.final 11,285 10/13/2020
3.8.0-3.final 64,166 9/16/2020
3.8.0-2.final 6,356 9/1/2020
3.7.0 19,030,341 8/5/2020
3.7.0-4.final 11,604 7/14/2020
3.7.0-3.final 119,668 7/2/2020
3.7.0-2.final 21,962 6/15/2020
3.7.0-1.final 77,898 5/19/2020
3.6.0 12,716,659 5/19/2020
3.6.0-4.final 9,936 5/4/2020
3.6.0-3.final 35,382 4/16/2020
3.6.0-2.final 57,590 3/26/2020
3.6.0-1.final 46,711 3/17/2020
3.5.0 3,626,387 3/16/2020
3.5.0-beta3-final 33,378 2/19/2020
3.5.0-beta2-final 39,264 1/23/2020
3.5.0-beta1-final 47,158 12/3/2019
3.4.0 10,868,835 12/3/2019
3.4.0-beta4-final 35,232 11/15/2019
3.4.0-beta3-final 48,471 11/4/2019
3.4.0-beta2-final 588,294 10/15/2019
3.4.0-beta1-final 67,176 9/23/2019
3.3.1 79,851,732 9/23/2019
3.3.1-beta3-final 28,150 9/5/2019
3.3.0-beta2-final 24,551 8/15/2019
3.3.0-beta1-final 38,037 7/26/2019
3.2.1 1,221,036 8/9/2019
3.2.0 307,907 8/1/2019
3.2.0-beta4-final 14,194 7/16/2019
3.2.0-beta3-final 22,092 6/25/2019
3.2.0-beta1-final 181,791 5/21/2019
3.1.0 2,057,125 5/21/2019
3.1.0-beta3-final 118,704 5/7/2019
3.1.0-beta2-final 12,272 4/24/2019
3.1.0-beta1-final 70,510 4/10/2019
3.0.0 9,627,436 4/2/2019
3.0.0-beta4-final 176,882 2/27/2019
3.0.0-beta3-final 34,012 2/14/2019
3.0.0-beta2-final 20,535 1/24/2019
2.11.0-beta1-final 88,489 12/11/2018
2.10.0 25,251,166 11/15/2018
2.9.0 4,571,473 8/16/2018
2.8.2 14,041,101 5/22/2018
2.8.0 176,924,812 5/1/2018
2.8.0-beta4 13,583 4/20/2018
2.8.0-beta3 149,767 4/12/2018
2.7.0 1,805,357 3/8/2018
2.6.1 2,557,429 12/14/2017
2.6.0 210,291 12/8/2017
2.6.0-beta3 15,920 11/22/2017
2.4.0 815,161 10/16/2017
2.3.2 441,934 8/31/2017
2.3.1 50,085,911 7/20/2017
2.3.0 233,769 7/11/2017
2.3.0-beta3 13,072 7/6/2017
2.3.0-beta2 14,248 6/15/2017
2.3.0-beta1 131,222 5/30/2017
2.2.0 381,839 5/30/2017
2.1.0 1,076,754 4/21/2017
2.0.0 1,984,814 3/9/2017
2.0.0-rc4 120,429 2/8/2017
2.0.0-rc3 14,250 1/30/2017
2.0.0-rc2 28,381 12/14/2016
2.0.0-rc 755,923 11/18/2016
2.0.0-beta5 22,423 10/18/2016
2.0.0-beta4 14,869 10/12/2016
2.0.0-beta3 419,758 7/13/2016
2.0.0-beta1 90,852 3/31/2016
1.3.2 2,445,462 7/1/2016
1.3.1 357,297 7/1/2016
1.3.0 139,679,107 6/27/2016
1.3.0-beta1-20160429-01 2,233,138 5/16/2016
1.2.2 370,835 5/17/2016
1.2.1 241,981 3/31/2016
1.2.0 398,520 3/31/2016
1.2.0-rc 15,040 3/5/2016
1.2.0-beta1-20160202-02 85,365 2/2/2016
1.2.0-beta1-20160108-01 20,160 1/12/2016
1.1.1 2,764,895 12/3/2015
1.1.0 166,911 11/30/2015
1.1.0-rc1-20151109-01 465,528 11/14/2015
1.1.0-rc1 16,073 10/19/2015
1.1.0-beta1-20150928-02 85,658 10/15/2015
1.1.0-beta1-20150812-01 58,784 8/26/2015
1.1.0-beta1 26,293 10/9/2015
1.0.1 3,881,280 12/21/2016
1.0.0 2,536,108 7/13/2015
1.0.0-rc3 73,547 6/17/2015
1.0.0-rc2 537,340 4/24/2015
1.0.0-rc1 143,060 2/14/2015
1.0.0-beta2 71,229 1/16/2015
1.0.0-beta1-20141031-01 79,609 11/11/2014
0.7.4091001-beta 42,964 9/29/2014
0.7.4080704-beta 69,916 8/20/2014
0.7.4052301-beta 98,274 6/3/2014
0.6.4033103-beta 25,317 4/1/2014