Skip to main content
Microsoft.CodeAnalysis package icon

Microsoft.CodeAnalysis

.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) More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/c0573ed0a7dc3e3b4d2e70da47f97cc51a35524f.

Total Downloads
98.6M
98,600,269
Published
Jul 2, 2026
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.CodeAnalysis --version 5.6.0
Package Manager Console
Install-Package Microsoft.CodeAnalysis -Version 5.6.0
PackageReference
<PackageReference Include="Microsoft.CodeAnalysis" Version="5.6.0" />

Frameworks

.NETFramework4.7.2 .NETStandard2.0

Dependencies

[5.6.0, 5.6.0]
[5.6.0, 5.6.0]
Humanizer.Core
.NETFramework4.7.2
[2.14.1, )
[10.0.1, )
[5.3.0, )
System.Buffers
.NETFramework4.7.2
[4.6.1, )
[10.0.1, )
System.Composition
.NETFramework4.7.2
[10.0.1, )
System.IO.Pipelines
.NETFramework4.7.2
[10.0.1, )
System.Memory
.NETFramework4.7.2
[4.6.3, )
System.Numerics.Vectors
.NETFramework4.7.2
[4.6.1, )
System.Reflection.Metadata
.NETFramework4.7.2
[10.0.1, )
[6.1.2, )
[8.0.0, )
System.Threading.Channels
.NETFramework4.7.2
[8.0.0, )
[4.6.3, )
[5.6.0, 5.6.0]
Humanizer.Core
.NETStandard2.0
[2.14.1, )
[10.0.1, )
[5.3.0, )
System.Buffers
.NETStandard2.0
[4.6.1, )
[10.0.1, )
System.Composition
.NETStandard2.0
[10.0.1, )