Skip to main content
net11.0

Transport package for Microsoft.Net.Compilers.Toolset.Framework assemblies. For internal use only: do not reference this package directly as it is explicitly not supported in that fashion. This package is automatically downloaded when your MSBuild version does not match your SDK version. Then the package is used to build your project with the compiler version matching your SDK version instead of the one bundled with MSBuild. If you want to download this package using the dotnet CLI, you can use the following command: ``` dotnet restore /p:BuildWithNetFrameworkHostedCompiler=true ``` If you want to disable automatic download and use of this package, set property `BuildWithNetFrameworkHostedCompiler` to `false` (for example, in your `.csproj` or `Directory.Build.props` file). However, be aware that you will be building with mismatched compiler and SDK versions. That is explicitly not supported and can lead to errors (especially with analyzers and source generators).

Published
Oct 13, 2026
6d ago
Total Downloads
3.1M
3,123,123

Install

dotnet add package Microsoft.Net.Sdk.Compilers.Toolset --version 11.0.100-rc.2.26504.105
ProductVersions
.NET
net11.0

Changes from Previous Version

No structural changes between v11.0.100-rc.1.26425.128 and v11.0.100-rc.2.26504.105.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.