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/6c4a46a31302167b425d5e0a31ea83c9a9aa1d09.
Install
dotnet add package Microsoft.CodeAnalysis.Compilers --version 5.0.0
Install-Package Microsoft.CodeAnalysis.Compilers -Version 5.0.0
<PackageReference Include="Microsoft.CodeAnalysis.Compilers" Version="5.0.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.