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/1ce8866c9de4c2d67351ef6863699dee03b0804a.

Total Downloads
103.4M
103,426,695
Published
Nov 14, 2022
Latest stable version

Install

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

Frameworks

.NETFramework4.7.2 .NETStandard2.0

Dependencies

[4.4.0, 4.4.0]
[4.4.0, 4.4.0]
[4.4.0, 4.4.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 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.