Skip to content

Commit d0f8118

Browse files
committed
add flag to remove build warning
1 parent adf930b commit d0f8118

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Workspaces/MSBuild/BuildHost/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
-->
2222
<PlatformTarget>AnyCPU</PlatformTarget>
2323
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
24+
25+
<!-- We suppress NETSDK1138 because we intentionally build against net6.0 to support a wider range of .NET SDKs -->
26+
<NoWarn>$(NoWarn);NETSDK1138</NoWarn>
2427

2528
<!--
2629
We specifically reference Microsoft.Build 17.3.4, since it's the oldest version still compatible $(NetRoslynBuildHostNetCoreVersion).

0 commit comments

Comments
 (0)