Skip to content

Commit

Permalink
change location
Browse files Browse the repository at this point in the history
  • Loading branch information
abaskk-msft committed Jul 11, 2024
1 parent a64117e commit e42f666
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<TreatWarningsAsErrors>true</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>true</CodeAnalysisTreatWarningsAsErrors>
</PropertyGroup>

Expand All @@ -26,10 +30,6 @@
<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 e42f666

Please sign in to comment.