Skip to content

Commit

Permalink
Add nowarn for product source-build
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaMilosavljevic committed Nov 6, 2023
1 parent b10ba99 commit e65b1ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@
<!-- Reset AssemblySearchPaths to empty to let Microsoft.Common.targets pick the legacy defaults -->
<AssemblySearchPaths Condition="'$(UsingMicrosoftNETSdk)' != 'true'" />
</PropertyGroup>
<PropertyGroup Condition="'$(DotNetBuildFromSourceFlavor)' == 'Product'">
<NoWarn>$(NoWarn);SYSLIB0051</NoWarn>
</PropertyGroup>
</Project>

0 comments on commit e65b1ef

Please sign in to comment.