Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Jul 19, 2024
1 parent b664b85 commit 0c890e5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<LangVersion>latest</LangVersion>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<NeutralLanguage>en</NeutralLanguage>
<NoWarn>1591,NU1507</NoWarn>
<NoWarn>CS1591</NoWarn>
<Nullable>enable</Nullable>
<PackageIcon>../resources/ASF.ico</PackageIcon>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
Expand All @@ -33,6 +33,11 @@
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
</PropertyGroup>

<!-- TODO: https://github.com/dotnet/roslyn-analyzers/issues/7032 -->
<PropertyGroup>
<NoWarn>$(NoWarn),CA1863</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(ASFVariant)' != ''">
<DefineConstants>$(DefineConstants);ASF_VARIANT_$(ASFVariant.Replace('-', '_').ToUpperInvariant())</DefineConstants>
</PropertyGroup>
Expand All @@ -50,7 +55,7 @@
<DebugType>none</DebugType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
<WarningsNotAsErrors>CA1863,CS8002,IL2026,IL2104,NU1901,NU1902,NU1903,NU1904</WarningsNotAsErrors>
<WarningsNotAsErrors>CS8002,IL2026,IL2104,NU1901,NU1902,NU1903,NU1904</WarningsNotAsErrors>
</PropertyGroup>

<!-- Enable public signing if not part of Visual Studio, which is too stupid to understand what public signing is -->
Expand Down

0 comments on commit 0c890e5

Please sign in to comment.