Microsoft.CodeAnalysis.Common 2.3.1

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

A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it.

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

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

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

Package Downloads
Microsoft.CodeAnalysis.CSharp

.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/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.

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.Workspaces.Common

A shared package used by the .NET Compiler Platform ("Roslyn") including support for analyzing projects and solutions. Do not install this package manually, it will be added as a prerequisite by other packages that require it. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.

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/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.

Microsoft.CodeAnalysis.VisualBasic

.NET Compiler Platform ("Roslyn") support for Visual Basic, Microsoft.CodeAnalysis.VisualBasic.dll. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.

GitHub repositories (274)

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

Repository Stars
dotnet/aspnetcore
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
MaterialDesignInXAML/MaterialDesignInXamlToolkit
Google's Material Design in XAML & WPF, for C# & VB.Net.
chocolatey/choco
Chocolatey - the package manager for Windows
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!!
neuecc/UniRx
Reactive Extensions for Unity
NancyFx/Nancy
Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
PixiEditor/PixiEditor
PixiEditor is a Universal Editor for all your 2D needs
umbraco/Umbraco-CMS
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
dotnet/winforms
Windows Forms is a .NET UI framework for building Windows desktop applications.
dotnet/docfx
Static site generator for .NET API documentation.
tixl3d/tixl
Tooll 3 is an open source software to create realtime motion graphics.
riok/mapperly
A .NET source generator for generating object mappings. No runtime reflection.
thomhurst/TUnit
A modern, fast and flexible .NET testing framework
oskardudycz/EventSourcing.NetCore
Examples and Tutorials of Event Sourcing in .NET
dotnet/roslynator
Roslynator is a set of code analysis tools for C#, powered by Roslyn.
martinothamar/Mediator
A high performance implementation of Mediator pattern in .NET using source generators.
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.
Ourpalm/ILRuntime
Pure C# IL Intepreter Runtime, which is fast and reliable for scripting requirement on enviorments, where jitting isn't possible.
Version Downloads Last Updated
5.0.0 103,169 11/18/2025
5.0.0-2.final 33,445 10/9/2025
4.14.0 9,922,517 5/15/2025
4.13.0 7,359,834 2/24/2025
4.12.0 7,811,225 12/4/2024
4.12.0-3.final 130,613 10/29/2024
4.12.0-2.final 66,193 9/17/2024
4.12.0-1.final 189,368 8/14/2024
4.11.0 14,872,928 8/15/2024
4.11.0-3.final 220,032 7/31/2024
4.11.0-2.final 27,520 6/19/2024
4.10.0 8,775,778 6/10/2024
4.10.0-3.final 177,933 4/29/2024
4.10.0-2.final 72,727 3/19/2024
4.10.0-1.final 1,412 3/18/2024
4.9.2 12,023,091 3/2/2024
4.9.0-3.final 933,368 1/22/2024
4.9.0-2.final 79,124 12/16/2023
4.9.0-1.final 5,697 12/13/2023
4.8.0 102,101,861 11/22/2023
4.8.0-3.final 5,538,064 11/3/2023
4.8.0-2.final 389,663 9/20/2023
4.8.0-1.final 17,167 9/9/2023
4.7.0 10,330,358 8/18/2023
4.7.0-2.final 89,736 6/20/2023
4.7.0-1.final 137,791 5/20/2023
4.6.0 5,813,902 5/16/2023
4.6.0-1.final 413,321 3/3/2023
4.5.0 156,284,838 2/24/2023
4.5.0-2.final 200,046 1/6/2023
4.4.0 21,487,678 11/14/2022
4.4.0-4.final 311,811 10/22/2022
4.4.0-2.final 935,430 9/19/2022
4.4.0-1.final 87,255 8/16/2022
4.3.1 6,800,184 9/30/2022
4.3.0-3.final 63,583 7/26/2022
4.3.0-2.final 24,816 6/22/2022
4.3.0-1.final 107,532 5/10/2022
4.2.0 11,566,172 5/13/2022
4.2.0-4.final 19,289 4/27/2022
4.2.0-2.final 41,950 3/25/2022
4.2.0-1.final 28,105 2/18/2022
4.1.0 27,159,923 2/16/2022
4.1.0-3.final 30,214 1/27/2022
4.1.0-1.final 99,867 11/19/2021
4.0.1 26,745,004 11/9/2021
4.0.0-6.final 218,586 10/20/2021
4.0.0-5.final 27,029 10/11/2021
4.0.0-4.final 65,317 9/15/2021
4.0.0-3.final 735,740 8/12/2021
4.0.0-2.final 32,042 7/20/2021
4.0.0-1.final 33,501 7/7/2021
3.11.0 17,603,063 8/11/2021
3.11.0-3.final 935 7/15/2021
3.11.0-1.final 66,125 6/14/2021
3.10.0 3,086,082 6/11/2021
3.10.0-3.final 50,077 5/13/2021
3.10.0-2.final 25,354 4/20/2021
3.10.0-1.final 101,208 3/3/2021
3.9.0 10,627,576 3/2/2021
3.9.0-5.final 3,232 2/24/2021
3.9.0-4.final 8,275 2/10/2021
3.9.0-3.final 31,957 1/20/2021
3.9.0-2.final 105,956 12/10/2020
3.9.0-1.final 79,907 12/4/2020
3.8.0 44,949,963 11/13/2020
3.8.0-5.final 54,200 10/23/2020
3.8.0-4.final 13,224 10/13/2020
3.8.0-3.final 68,346 9/16/2020
3.8.0-2.final 6,939 9/1/2020
3.7.0 34,504,011 8/5/2020
3.7.0-4.final 11,476 7/14/2020
3.7.0-3.final 117,326 7/2/2020
3.7.0-2.final 21,279 6/15/2020
3.7.0-1.final 76,287 5/19/2020
3.6.0 13,699,839 5/19/2020
3.6.0-4.final 10,391 5/4/2020
3.6.0-3.final 35,028 4/16/2020
3.6.0-2.final 58,258 3/26/2020
3.6.0-1.final 45,779 3/17/2020
3.5.0 3,778,059 3/16/2020
3.5.0-beta3-final 38,018 2/19/2020
3.5.0-beta2-final 45,569 1/23/2020
3.5.0-beta1-final 57,347 12/3/2019
3.4.0 11,225,130 12/3/2019
3.4.0-beta4-final 40,087 11/15/2019
3.4.0-beta3-final 53,140 11/4/2019
3.4.0-beta2-final 841,649 10/15/2019
3.4.0-beta1-final 72,588 9/23/2019
3.3.1 81,015,638 9/23/2019
3.3.1-beta3-final 33,202 9/5/2019
3.3.0-beta2-final 80,395 8/15/2019
3.3.0-beta1-final 64,516 7/26/2019
3.2.1 1,287,366 8/9/2019
3.2.0 330,698 8/1/2019
3.2.0-beta4-final 22,925 7/16/2019
3.2.0-beta3-final 26,348 6/25/2019
3.2.0-beta1-final 185,861 5/21/2019
3.1.0 2,153,903 5/21/2019
3.1.0-beta3-final 123,162 5/7/2019
3.1.0-beta2-final 16,851 4/24/2019
3.1.0-beta1-final 75,220 4/10/2019
3.0.0 10,290,750 4/2/2019
3.0.0-beta4-final 380,356 2/27/2019
3.0.0-beta3-final 39,074 2/14/2019
3.0.0-beta2-final 25,650 1/24/2019
2.11.0-beta1-final 94,774 12/11/2018
2.10.0 25,699,019 11/15/2018
2.9.0 4,884,229 8/16/2018
2.8.2 15,782,994 5/22/2018
2.8.0 184,969,701 5/1/2018
2.8.0-beta4 19,009 4/20/2018
2.8.0-beta3 158,449 4/12/2018
2.7.0 1,839,885 3/8/2018
2.6.1 2,626,286 12/14/2017
2.6.0 244,508 12/8/2017
2.6.0-beta3 21,356 11/22/2017
2.4.0 850,970 10/16/2017
2.3.2 466,017 8/31/2017
2.3.1 50,488,518 7/20/2017
2.3.0 293,959 7/11/2017
2.3.0-beta3 18,335 7/6/2017
2.3.0-beta2 19,612 6/15/2017
2.3.0-beta1 136,951 5/30/2017
2.2.0 410,389 5/30/2017
2.1.0 1,100,709 4/21/2017
2.0.0 2,212,943 3/9/2017
2.0.0-rc4 144,588 2/8/2017
2.0.0-rc3 19,601 1/30/2017
2.0.0-rc2 35,505 12/14/2016
2.0.0-rc 755,108 11/18/2016
2.0.0-beta5 27,285 10/18/2016
2.0.0-beta4 19,889 10/12/2016
2.0.0-beta3 423,851 7/13/2016
2.0.0-beta1 96,128 3/31/2016
1.3.2 2,633,644 7/1/2016
1.3.1 409,362 7/1/2016
1.3.0 143,029,048 6/27/2016
1.3.0-beta1-20160429-01 2,204,115 5/16/2016
1.2.2 409,963 5/17/2016
1.2.1 276,477 3/31/2016
1.2.0 425,700 3/31/2016
1.2.0-rc 20,023 3/5/2016
1.2.0-beta1-20160202-02 89,695 2/2/2016
1.2.0-beta1-20160108-01 23,647 1/12/2016
1.1.1 2,788,692 12/3/2015
1.1.0 208,076 11/30/2015
1.1.0-rc1-20151109-01 466,545 11/14/2015
1.1.0-rc1 21,583 10/19/2015
1.1.0-beta1-20150928-02 89,925 10/15/2015
1.1.0-beta1-20150812-01 62,307 8/26/2015
1.1.0-beta1 32,213 10/9/2015
1.0.1 6,963,714 12/21/2016
1.0.0 2,566,419 7/13/2015
1.0.0-rc3 78,007 6/17/2015
1.0.0-rc2 558,931 4/24/2015
1.0.0-rc1 144,054 2/14/2015
1.0.0-beta2 72,334 1/16/2015
1.0.0-beta1-20141031-01 81,798 11/11/2014
0.7.4091001-beta 54,137 9/29/2014
0.7.4080704-beta 71,475 8/20/2014
0.7.4052301-beta 102,100 6/3/2014
0.6.4033103-beta 29,303 4/1/2014