Reverse the EnablePackageValidation in tests, so it is explicity opt-in. Otherwise the generated csproj file in Benchmarks will always fail (#14004)

This commit is contained in:
Bjarke Berg
2023-03-24 08:40:51 +01:00
committed by GitHub
parent 21036a4c50
commit f8e5205aa7
3 changed files with 4 additions and 1 deletions

View File

@@ -5,8 +5,9 @@
<PropertyGroup>
<!-- TODO: Update test projects to use nullable reference types and remove this to enable nullable warnings as errors (the solution default) -->
<Nullable>annotations</Nullable>
<EnablePackageValidation>false</EnablePackageValidation>
</PropertyGroup>
<!-- Specify rule set for all test projects -->
<PropertyGroup>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)codeanalysis.ruleset</CodeAnalysisRuleSet>