Microsoft.CodeAnalysis.Common 2.2.0

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

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

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

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
TiXL 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.
Facepunch/sbox-public
s&box is a modern game engine, built on Valve's Source 2 and the latest .NET technology, it provides a modern intuitive editor for creating games
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.
Version Downloads Last Updated
5.0.0 264,792 11/18/2025
5.0.0-2.final 37,838 10/9/2025
4.14.0 10,959,293 5/15/2025
4.13.0 7,600,271 2/24/2025
4.12.0 8,003,102 12/4/2024
4.12.0-3.final 131,461 10/29/2024
4.12.0-2.final 66,522 9/17/2024
4.12.0-1.final 193,342 8/14/2024
4.11.0 15,144,083 8/15/2024
4.11.0-3.final 225,469 7/31/2024
4.11.0-2.final 27,607 6/19/2024
4.10.0 8,947,097 6/10/2024
4.10.0-3.final 178,237 4/29/2024
4.10.0-2.final 73,110 3/19/2024
4.10.0-1.final 1,419 3/18/2024
4.9.2 12,238,720 3/2/2024
4.9.0-3.final 933,947 1/22/2024
4.9.0-2.final 79,705 12/16/2023
4.9.0-1.final 5,698 12/13/2023
4.8.0 104,699,248 11/22/2023
4.8.0-3.final 5,586,969 11/3/2023
4.8.0-2.final 394,413 9/20/2023
4.8.0-1.final 17,170 9/9/2023
4.7.0 10,446,261 8/18/2023
4.7.0-2.final 90,056 6/20/2023
4.7.0-1.final 138,053 5/20/2023
4.6.0 5,874,711 5/16/2023
4.6.0-1.final 414,152 3/3/2023
4.5.0 158,699,597 2/24/2023
4.5.0-2.final 200,703 1/6/2023
4.4.0 21,592,393 11/14/2022
4.4.0-4.final 311,949 10/22/2022
4.4.0-2.final 939,951 9/19/2022
4.4.0-1.final 87,281 8/16/2022
4.3.1 6,871,543 9/30/2022
4.3.0-3.final 63,902 7/26/2022
4.3.0-2.final 24,857 6/22/2022
4.3.0-1.final 107,682 5/10/2022
4.2.0 11,614,460 5/13/2022
4.2.0-4.final 19,303 4/27/2022
4.2.0-2.final 41,954 3/25/2022
4.2.0-1.final 28,111 2/18/2022
4.1.0 27,439,148 2/16/2022
4.1.0-3.final 30,234 1/27/2022
4.1.0-1.final 100,080 11/19/2021
4.0.1 26,885,915 11/9/2021
4.0.0-6.final 219,812 10/20/2021
4.0.0-5.final 27,098 10/11/2021
4.0.0-4.final 65,367 9/15/2021
4.0.0-3.final 736,524 8/12/2021
4.0.0-2.final 32,074 7/20/2021
4.0.0-1.final 33,594 7/7/2021
3.11.0 17,699,125 8/11/2021
3.11.0-3.final 940 7/15/2021
3.11.0-1.final 66,186 6/14/2021
3.10.0 3,106,331 6/11/2021
3.10.0-3.final 50,204 5/13/2021
3.10.0-2.final 25,432 4/20/2021
3.10.0-1.final 101,287 3/3/2021
3.9.0 10,765,646 3/2/2021
3.9.0-5.final 3,241 2/24/2021
3.9.0-4.final 8,293 2/10/2021
3.9.0-3.final 31,994 1/20/2021
3.9.0-2.final 106,398 12/10/2020
3.9.0-1.final 79,918 12/4/2020
3.8.0 45,059,972 11/13/2020
3.8.0-5.final 54,229 10/23/2020
3.8.0-4.final 13,258 10/13/2020
3.8.0-3.final 68,471 9/16/2020
3.8.0-2.final 6,951 9/1/2020
3.7.0 34,600,288 8/5/2020
3.7.0-4.final 11,492 7/14/2020
3.7.0-3.final 117,342 7/2/2020
3.7.0-2.final 21,294 6/15/2020
3.7.0-1.final 76,312 5/19/2020
3.6.0 13,786,279 5/19/2020
3.6.0-4.final 10,402 5/4/2020
3.6.0-3.final 35,072 4/16/2020
3.6.0-2.final 58,289 3/26/2020
3.6.0-1.final 45,856 3/17/2020
3.5.0 3,792,448 3/16/2020
3.5.0-beta3-final 38,148 2/19/2020
3.5.0-beta2-final 45,630 1/23/2020
3.5.0-beta1-final 57,365 12/3/2019
3.4.0 11,263,043 12/3/2019
3.4.0-beta4-final 40,097 11/15/2019
3.4.0-beta3-final 53,174 11/4/2019
3.4.0-beta2-final 842,332 10/15/2019
3.4.0-beta1-final 72,622 9/23/2019
3.3.1 81,198,872 9/23/2019
3.3.1-beta3-final 33,247 9/5/2019
3.3.0-beta2-final 80,448 8/15/2019
3.3.0-beta1-final 64,551 7/26/2019
3.2.1 1,301,993 8/9/2019
3.2.0 345,021 8/1/2019
3.2.0-beta4-final 22,948 7/16/2019
3.2.0-beta3-final 26,351 6/25/2019
3.2.0-beta1-final 185,907 5/21/2019
3.1.0 2,169,305 5/21/2019
3.1.0-beta3-final 123,243 5/7/2019
3.1.0-beta2-final 16,871 4/24/2019
3.1.0-beta1-final 75,234 4/10/2019
3.0.0 10,371,919 4/2/2019
3.0.0-beta4-final 380,436 2/27/2019
3.0.0-beta3-final 39,127 2/14/2019
3.0.0-beta2-final 25,686 1/24/2019
2.11.0-beta1-final 94,917 12/11/2018
2.10.0 25,768,732 11/15/2018
2.9.0 4,907,621 8/16/2018
2.8.2 16,039,150 5/22/2018
2.8.0 185,738,732 5/1/2018
2.8.0-beta4 19,033 4/20/2018
2.8.0-beta3 158,830 4/12/2018
2.7.0 1,855,392 3/8/2018
2.6.1 2,645,203 12/14/2017
2.6.0 258,846 12/8/2017
2.6.0-beta3 21,378 11/22/2017
2.4.0 866,162 10/16/2017
2.3.2 480,537 8/31/2017
2.3.1 50,583,200 7/20/2017
2.3.0 308,508 7/11/2017
2.3.0-beta3 18,358 7/6/2017
2.3.0-beta2 19,651 6/15/2017
2.3.0-beta1 137,023 5/30/2017
2.2.0 424,660 5/30/2017
2.1.0 1,115,719 4/21/2017
2.0.0 2,230,217 3/9/2017
2.0.0-rc4 144,657 2/8/2017
2.0.0-rc3 19,628 1/30/2017
2.0.0-rc2 35,538 12/14/2016
2.0.0-rc 755,137 11/18/2016
2.0.0-beta5 27,333 10/18/2016
2.0.0-beta4 19,927 10/12/2016
2.0.0-beta3 423,864 7/13/2016
2.0.0-beta1 96,141 3/31/2016
1.3.2 2,651,314 7/1/2016
1.3.1 424,120 7/1/2016
1.3.0 143,454,620 6/27/2016
1.3.0-beta1-20160429-01 2,204,506 5/16/2016
1.2.2 424,327 5/17/2016
1.2.1 291,314 3/31/2016
1.2.0 439,977 3/31/2016
1.2.0-rc 20,035 3/5/2016
1.2.0-beta1-20160202-02 89,725 2/2/2016
1.2.0-beta1-20160108-01 23,670 1/12/2016
1.1.1 2,803,380 12/3/2015
1.1.0 223,099 11/30/2015
1.1.0-rc1-20151109-01 466,751 11/14/2015
1.1.0-rc1 21,604 10/19/2015
1.1.0-beta1-20150928-02 89,994 10/15/2015
1.1.0-beta1-20150812-01 62,328 8/26/2015
1.1.0-beta1 32,295 10/9/2015
1.0.1 7,037,598 12/21/2016
1.0.0 2,584,203 7/13/2015
1.0.0-rc3 78,147 6/17/2015
1.0.0-rc2 559,399 4/24/2015
1.0.0-rc1 144,141 2/14/2015
1.0.0-beta2 72,374 1/16/2015
1.0.0-beta1-20141031-01 81,826 11/11/2014
0.7.4091001-beta 54,190 9/29/2014
0.7.4080704-beta 71,517 8/20/2014
0.7.4052301-beta 102,152 6/3/2014
0.6.4033103-beta 29,364 4/1/2014