Microsoft.Net.Compilers
Note: This package is deprecated. Please use Microsoft.Net.Compilers.Toolset instead .NET Compilers package. Referencing this package will cause the project to be built using the C# and Visual Basic compilers contained in the package, as opposed to the version installed with MSBuild. The tools in this package require .NET Framework 4.7.2+ More details at https://aka.ms/roslyn-packages This package was built from the source at https://github.com/dotnet/roslyn/commit/b3e69109341a1017423af7981b8b84b646f5bcce.
Install
dotnet add package Microsoft.Net.Compilers --version 4.0.1
Install-Package Microsoft.Net.Compilers -Version 4.0.1
<PackageReference Include="Microsoft.Net.Compilers" Version="4.0.1" />
Frameworks
Dependencies
No declared 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.