Skip to content

Commit 37ac573

Browse files
committed
Improve Sdk.Compilers.Toolset package description
1 parent f7283e1 commit 37ac573

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/Microsoft.Net.Sdk.Compilers.Toolset/Microsoft.Net.Sdk.Compilers.Toolset.csproj

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,23 @@
22

33
<PropertyGroup>
44
<TargetFramework>$(SdkTargetFramework)</TargetFramework>
5-
<Description>Transport package for Microsoft.Net.Compilers.Toolset.Framework assemblies. For internal use only.</Description>
5+
<Description><![CDATA[
6+
Transport package for Microsoft.Net.Compilers.Toolset.Framework assemblies. For internal use only.
7+
8+
This package is automatically downloaded when your MSBuild version does not match your SDK version.
9+
Then your project uses the compiler version matching your SDK version instead of the one bundled with MSBuild.
10+
11+
If you want to disable this behavior, set property `BuildWithNetFrameworkHostedCompiler` to `false`
12+
in your `.csproj` or `Directory.Build.props` file, for example:
13+
14+
```csproj
15+
<Project>
16+
<PropertyGroup>
17+
<BuildWithNetFrameworkHostedCompiler>false</BuildWithNetFrameworkHostedCompiler>
18+
</ProperyGroup>
19+
</Project>
20+
```
21+
]]></Description>
622
<IsPackable>true</IsPackable>
723
<IncludeBuildOutput>false</IncludeBuildOutput>
824
<NoPackageAnalysis>true</NoPackageAnalysis>

0 commit comments

Comments
 (0)