Directory.build.props 974 B

12345678910111213141516171819202122232425
  1. <Project>
  2. <Import Project="..\Directory.build.props" />
  3. <PropertyGroup>
  4. <CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)..\Test.ruleset</CodeAnalysisRuleSet>
  5. <!--
  6. Test projects are not designed for public consumption so they don't need the analysis rules
  7. that enforce .NET Class Library Design Guidelines.
  8. -->
  9. <AnalysisLevelDesign>None</AnalysisLevelDesign>
  10. <AnalysisLevelPerformance>7.0-None</AnalysisLevelPerformance>
  11. <AnalysisLevelNaming>7.0-None</AnalysisLevelNaming>
  12. <!--
  13. Diagnostics of limited value in test projects
  14. CA2201 - System.Exception not sufficiently specific - tests often need to work with the base Exception type.
  15. IDE1006 - naming rules - test projects aren't designed for public consumption.
  16. -->
  17. <NoWarn>$(NoWarn);CA2201;IDE1006</NoWarn>
  18. </PropertyGroup>
  19. <ItemGroup>
  20. <GlobalAnalyzerConfigFiles Remove="$(MSBuildThisFileDirectory)..\analyzers.globalconfig" />
  21. </ItemGroup>
  22. </Project>