Skip to main content
Microsoft.CodeAnalysis.Compilers package icon

Microsoft.CodeAnalysis.Compilers

Compiler layer of the .NET Compiler Platform ("Roslyn"). Install this package to get both C# and Visual Basic support. If you want just support for one language, install Microsoft.CodeAnalysis.CSharp or Microsoft.CodeAnalysis.VisualBasic. More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/16f9bd284cd49604ac82998bfe778a8eb16d4347.

Total Downloads
9.1M
9,094,695
Published
Mar 10, 2026
Latest stable version

Install

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

Frameworks

.NETStandard2.0

Dependencies

[5.3.0, 5.3.0]
[5.3.0, 5.3.0]
[5.3.0-2.25625.1, )
System.Buffers
.NETStandard2.0
[4.6.0, )
[9.0.0, )
System.Memory
.NETStandard2.0
[4.6.0, )
[4.6.0, )
[9.0.0, )
[8.0.0, )
[4.6.0, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.