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/e091728607ca0fc9efca55ccfb3e59259c6b5a0a.

Total Downloads
103.4M
103,426,695
Published
Nov 22, 2023
Latest stable version

Install

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

Frameworks

.NETFramework4.7.2 .NETStandard2.0

Dependencies

[4.8.0, 4.8.0]
[4.8.0, 4.8.0]
[4.8.0, 4.8.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.