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/4bdc8414790101a4da120a92cc4bc0154ac787ca.

Total Downloads
103.4M
103,426,695
Published
Sep 30, 2022
Latest stable version

Install

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

Frameworks

.NETFramework4.7.2 .NETStandard2.0

Dependencies

[4.3.1, 4.3.1]
[4.3.1, 4.3.1]
[4.3.1, 4.3.1]

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 2 target frameworks; 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.