Microsoft.Net.Compilers
2.6.1
.NET Compilers package.
Referencing this package will cause the project to be built using the specific version of the C# and Visual Basic compilers contained in the package, as opposed to any system installed version.
This package can be used to compile code targeting any platform, but can only be run using the desktop .NET 4.6+ Full Framework.
More details at https://aka.ms/roslyn-packages
This package was built from the source at https://github.com/dotnet/roslyn/commit/2c94423e50a72aea8a4962d8722641d06bc88b13
Install-Package Microsoft.Net.Compilers -Version 2.6.1
dotnet add package Microsoft.Net.Compilers --version 2.6.1
<PackageReference Include="Microsoft.Net.Compilers" Version="2.6.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Net.Compilers --version 2.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Net.Compilers, 2.6.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Net.Compilers as a Cake Addin
#addin nuget:?package=Microsoft.Net.Compilers&version=2.6.1
// Install Microsoft.Net.Compilers as a Cake Tool
#tool nuget:?package=Microsoft.Net.Compilers&version=2.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dependencies
This package has no dependencies.
Used By
NuGet packages
This package is not used by any NuGet packages.