Microsoft.Net.Sdk.Compilers.Toolset
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).
Install
dotnet add package Microsoft.Net.Sdk.Compilers.Toolset --version 10.0.105
Install-Package Microsoft.Net.Sdk.Compilers.Toolset -Version 10.0.105
<PackageReference Include="Microsoft.Net.Sdk.Compilers.Toolset" Version="10.0.105" />
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.