Skip to content

Commit 432b33e

Browse files
Move CA1873 suppression
Move CA1873 suppression to the right place.
1 parent 0529d22 commit 432b33e

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

tests/Logging.XUnit.Tests/MartinCostello.Logging.XUnit.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<PropertyGroup>
33
<Description>Tests for MartinCostello.Logging.XUnit.</Description>
44
<MSBuildTreatWarningsAsErrors>false</MSBuildTreatWarningsAsErrors>
5+
<NoWarn>$(NoWarn);CA1873</NoWarn>
56
<RootNamespace>MartinCostello.Logging.XUnit</RootNamespace>
67
<TargetFramework>net9.0</TargetFramework>
78
<UseDefaultCodeAnalysisRuleSet>true</UseDefaultCodeAnalysisRuleSet>

tests/Logging.XUnit.v3.Tests/MartinCostello.Logging.XUnit.v3.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<DefineConstants>$(DefineConstants);XUNIT_V3</DefineConstants>
44
<Description>Tests for MartinCostello.Logging.XUnit.v3.</Description>
55
<MSBuildTreatWarningsAsErrors>false</MSBuildTreatWarningsAsErrors>
6+
<NoWarn>$(NoWarn);CA1873</NoWarn>
67
<OutputType>Exe</OutputType>
78
<RootNamespace>MartinCostello.Logging.XUnit</RootNamespace>
89
<TargetFramework>net9.0</TargetFramework>

tests/SampleApp/SampleApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
33
<IsPackable>false</IsPackable>
4-
<NoWarn>$(NoWarn);CA1801;CA1822;CA1861;CA1873;SA1600;SA1601</NoWarn>
4+
<NoWarn>$(NoWarn);CA1801;CA1822;CA1861;SA1600;SA1601</NoWarn>
55
<TargetFramework>net9.0</TargetFramework>
66
</PropertyGroup>
77
<ItemGroup>

0 commit comments

Comments
 (0)