Add a new props file for turning off warnings

These warnings are only disabled temporarily. We will bring them back
after merging net10.0 support.
This commit is contained in:
Joe DeCock 2025-09-15 13:02:36 -05:00
parent 2f28c40ef2
commit 58a85f0779
4 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="../../samples.props" />
<Import Project="../identity-server.props" />
<PropertyGroup>
<IsIdSrvProject>true</IsIdSrvProject>
</PropertyGroup>

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<!-- These warnings are new in .NET 10, and will be addressed as a follow up to initial work getting .NET 10 builds working -->
<NoWarn>$(NoWarn);CA1873;IDE0010;IDE0017;IDE0018;IDE0019;IDE0028;IDE0030;IDE0031;IDE0032;IDE0036;IDE0040;IDE0042;IDE0044;IDE0045;IDE0046;IDE0047;IDE0048;IDE0051;IDE0052;IDE0054;IDE0055;IDE0056;IDE0057;IDE0058;IDE0059;IDE0060;IDE0061;IDE0063;IDE0072;IDE0074;IDE0075;IDE0076;IDE0078;IDE0083;IDE0090;IDE0100;IDE0130;IDE0200;IDE0240;IDE0270;IDE0280;IDE0290;IDE0300;IDE0301;IDE0305;IDE0306;IDE0330;IDE1006;ASPDEPR004;ASPDEPR008</NoWarn>
</PropertyGroup>
</Project>

View file

@ -2,6 +2,7 @@
<Project>
<Import Project="../../src.props" />
<Import Project="../identity-server.props" />
<PropertyGroup>
<AnalysisMode>All</AnalysisMode>
@ -20,9 +21,7 @@
Currently all existing warnings are suppressed. We will remove them as we address them. But this configuration
allows us to prevent new warnings from being introduced while we work on the existing ones.
Note that CA1873 is new in .NET 10 previews, and may change before final release.
-->
<NoWarn>$(NoWarn);CA1002;CA1008;CA1031;CA1034;CA1040;CA1051;CA1054;CA1055;CA1056;CA1062;CA1716;CA1724;CA1725;CA1727;CA1819;CA1848;CA1851;CA1873;CA2201;CA2007;CA2208;CA2227;CA2234</NoWarn>
<NoWarn>$(NoWarn);CA1002;CA1008;CA1031;CA1034;CA1040;CA1051;CA1054;CA1055;CA1056;CA1062;CA1716;CA1724;CA1725;CA1727;CA1819;CA1848;CA1851;CA2201;CA2007;CA2208;CA2227;CA2234</NoWarn>
</PropertyGroup>
</Project>

View file

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="../../test.props" />
<Import Project="../identity-server.props" />
<PropertyGroup>
<IsIdSrvProject>true</IsIdSrvProject>
</PropertyGroup>