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/9934fb9e3527e1c0c51314e57d4aab30f97e8f9e.

Total Downloads
9.3M
9,311,791
Published
Mar 2, 2024
Latest stable version

Install

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

Frameworks

.NETStandard2.0

Dependencies

[4.9.2, 4.9.2]
[4.9.2, 4.9.2]

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.