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