Microsoft.NETCore.Compilers 4.2.0

Prefix Reserved
dotnet add package Microsoft.NETCore.Compilers --version 4.2.0
                    
NuGet\Install-Package Microsoft.NETCore.Compilers -Version 4.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.NETCore.Compilers" Version="4.2.0">
  <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.
<PackageVersion Include="Microsoft.NETCore.Compilers" Version="4.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.NETCore.Compilers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.NETCore.Compilers --version 4.2.0
                    
#r "nuget: Microsoft.NETCore.Compilers, 4.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.NETCore.Compilers@4.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.NETCore.Compilers&version=4.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.NETCore.Compilers&version=4.2.0
                    
Install as a Cake Tool

Note: This package is deprecated. Please use Microsoft.Net.Compilers.Toolset instead
     CoreCLR-compatible versions of the C# and VB compilers for use in MSBuild.
   
     More details at https://aka.ms/roslyn-packages
     This package was built from the source at https://github.com/dotnet/roslyn/commit/46c8f4f56765e16b92759de8098494b36cfb84f5.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Microsoft.NETCore.Compilers:

Repository Stars
dotnet/roslyn-tools
Tools used in Roslyn based repos
Version Downloads Last Updated
4.2.0 3,152 5/13/2022
4.2.0-4.final 287 4/27/2022
4.2.0-2.final 282 3/25/2022
4.2.0-1.final 295 2/18/2022
4.1.0 878 2/16/2022
4.1.0-3.final 512 1/27/2022
4.1.0-1.final 754 11/19/2021
4.0.1 87,130 11/9/2021
4.0.0-6.final 341 10/20/2021
4.0.0-5.final 291 10/11/2021
4.0.0-4.final 338 9/15/2021
4.0.0-3.final 326 8/12/2021
4.0.0-2.final 340 7/20/2021
4.0.0-1.final 375 7/7/2021
3.11.0 920 8/11/2021
3.11.0-3.final 326 7/15/2021
3.11.0-1.final 375 6/14/2021
3.10.0 753 6/11/2021
Loading failed