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/c0573ed0a7dc3e3b4d2e70da47f97cc51a35524f.
Install
dotnet add package Microsoft.CodeAnalysis.Compilers --version 5.6.0
Install-Package Microsoft.CodeAnalysis.Compilers -Version 5.6.0
<PackageReference Include="Microsoft.CodeAnalysis.Compilers" Version="5.6.0" />
Frameworks
Dependencies
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.