Skip to content

Commit 4f15e9c

Browse files
authored
fix nowarn
1 parent b937b8c commit 4f15e9c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

eng/Build.props

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<!-- This is a servicing branch, do not warn about outdated SDKs. -->
5+
<NoWarn>$(NoWarn);NETSDK1138</NoWarn>
6+
</PropertyGroup>
37
<ItemGroup>
48
<!-- Note: It is important BuildAnalyzers.sln builds first and does not allow building in parallel.
59
Because projects in Razor.sln (or Razor.Slim.slnf) have a project reference to Razor.Diagnostics.Analyzers
@@ -12,8 +16,5 @@
1216

1317
<!-- Exclude VSIX projects on non-Windows -->
1418
<ProjectToBuild Condition="'$(OS)'!='WINDOWS_NT' and '$(SdkTaskProjects)'==''" Include="$(MSBuildThisFileDirectory)..\Razor.Slim.slnf" />
15-
16-
<!-- This is a servicing branch, do not warn about outdated SDKs. -->
17-
<NoWarn>$(NoWarn);NETSDK1138</NoWarn>
1819
</ItemGroup>
1920
</Project>

0 commit comments

Comments
 (0)