Skip to content

Commit 56ddcef

Browse files
committed
Centralize AnalysisLevel
1 parent 3deb116 commit 56ddcef

File tree

11 files changed

+1
-10
lines changed

11 files changed

+1
-10
lines changed

Common.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<NuGetAudit>true</NuGetAudit>
88
<NuGetAuditMode>all</NuGetAuditMode>
99
<NuGetAuditLevel>low</NuGetAuditLevel>
10+
<AnalysisLevel>latest-All</AnalysisLevel>
1011
</PropertyGroup>
1112

1213
<!-- StyleCop -->

src/Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
<NoWarn>$(NoWarn);NU5104</NoWarn>
3131

3232
<EmbedUntrackedSources Condition=" '$(TargetFramework)' == 'net462' ">true</EmbedUntrackedSources>
33-
<AnalysisLevel>latest-All</AnalysisLevel>
3433
</PropertyGroup>
3534

3635
<ItemGroup>

test/NuGetPackagesTests/NuGetPackagesTests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
<PropertyGroup>
88
<DefineConstants>$(DefineConstants);NUGET_PACKAGE_TESTS</DefineConstants>
9-
<AnalysisLevel>latest-All</AnalysisLevel>
109
</PropertyGroup>
1110

1211
<ItemGroup>

test/test-applications/integrations/Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@
1616
<!-- CA1031: Do not catch general exception types -->
1717
<!-- CA1303: Do not pass literals as localized parameters -->
1818
<NoWarn>$(NoWarn);CA1031;CA1303</NoWarn>
19-
<AnalysisLevel>latest-All</AnalysisLevel>
2019
</PropertyGroup>
2120
</Project>

test/test-applications/integrations/dependency-libs/Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
</ItemGroup>
1010

1111
<PropertyGroup>
12-
<AnalysisLevel>latest-All</AnalysisLevel>
1312
<!-- CA1031: Do not pass literals as localized parameters -->
1413
<NoWarn>$(NoWarn);CA1303</NoWarn>
1514
</PropertyGroup>

test/test-applications/mocks/Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
<SignAssembly>true</SignAssembly>
1111
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)..\..\test-keypair.snk</AssemblyOriginatorKeyFile>
12-
<AnalysisLevel>latest-All</AnalysisLevel>
1312
<!-- CA1031: Do not pass literals as localized parameters -->
1413
<NoWarn>$(NoWarn);CA1303</NoWarn>
1514
</PropertyGroup>

test/test-applications/nuget-packages/Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
<!-- Keep the same base output path to simplify re-use of test helpers -->
2020
<BaseOutputPath>..\bin\$(MSBuildProjectName)\</BaseOutputPath>
21-
<AnalysisLevel>latest-All</AnalysisLevel>
2221
<!-- CA1031: Do not catch general exception types -->
2322
<NoWarn>$(NoWarn);CA1031</NoWarn>
2423
</PropertyGroup>

tools/DependencyListGenerator/DependencyListGenerator.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<Nullable>disable</Nullable>
88
<SignAssembly>true</SignAssembly>
99
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)..\..\test\test-keypair.snk</AssemblyOriginatorKeyFile>
10-
<AnalysisLevel>latest-All</AnalysisLevel>
1110
</PropertyGroup>
1211

1312
<ItemGroup>

tools/GacInstallTool/GacInstallTool.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net462</TargetFramework>
6-
<AnalysisLevel>latest-All</AnalysisLevel>
76
</PropertyGroup>
87

98
<ItemGroup>

tools/LibraryVersionsGenerator/LibraryVersionsGenerator.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net10.0</TargetFramework>
6-
<AnalysisLevel>latest-All</AnalysisLevel>
76
</PropertyGroup>
87

98
<ItemGroup>

0 commit comments

Comments
 (0)