Skip to content

Commit

Permalink
treat warning not as error
Browse files Browse the repository at this point in the history
  • Loading branch information
abaskk-msft committed Jul 11, 2024
1 parent cf28dff commit a64117e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
<PropertyGroup Label="Code Analysis config for VS IDE"
Condition="'$(BuildingInsideVisualStudio)' == 'true'">
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<!-- Warning treated as error for dotnet compiler, see Pr #660 and this for context
https://github.com/dotnet/core/blob/main/release-notes/8.0/known-issues.md#802xx-sdk-is-not-compatible-with-178-for-some-scenarios
-->
<WarningsNotAsErrors>NU1603</WarningsNotAsErrors>
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
</PropertyGroup>

Expand Down

0 comments on commit a64117e

Please sign in to comment.