Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[release/9.0.1xx-preview7] Improve Microsoft.Net.Sdk.Compilers.Toolset package description #42318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,25 @@

<PropertyGroup>
<TargetFramework>$(SdkTargetFramework)</TargetFramework>
<Description>Transport package for Microsoft.Net.Compilers.Toolset.Framework assemblies. For internal use only.</Description>
<Description><![CDATA[
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).
]]></Description>
<IsPackable>true</IsPackable>
<IsShippingPackage>true</IsShippingPackage>
<IncludeBuildOutput>false</IncludeBuildOutput>
Expand Down
Loading