|
16 | 16 | <!-- This is false for local development, but set to true in the CI system --> |
17 | 17 | <TreatWarningsAsErrors Condition=" '$(TreatWarningsAsErrors)' == '' ">false</TreatWarningsAsErrors> |
18 | 18 |
|
19 | | - <!-- TODO: to be reenabled and all warnings fixed (https://github.com/dotnet/r9/issues/177) --> |
| 19 | + <!-- |
| 20 | + TODO: to be resolved (https://github.com/dotnet/extensions/issues/4128) |
| 21 | +
|
| 22 | + warning CS0436: (NETCORE_ENGINEERING_TELEMETRY=Build) The type '__Attributes' in |
| 23 | + 'Microsoft.Extensions.Options.SourceGeneration/Microsoft.Extensions.Options.Generators.Generator/Validators.g.cs' conflicts with the imported type |
| 24 | + '__Attributes' in 'Microsoft.Extensions.Telemetry, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. |
| 25 | + Using the type defined in 'Microsoft.Extensions.Options.SourceGeneration/Microsoft.Extensions.Options.Generators.Generator/Validators.g.cs'. |
| 26 | + --> |
| 27 | + <NoWarn>$(NoWarn);CS0436</NoWarn> |
| 28 | + |
| 29 | + <!-- TODO: to be re-enabled and all warnings fixed (https://github.com/dotnet/extensions/issues/4002) --> |
20 | 30 | <NoWarn>$(NoWarn);IL2026;IL2087;IL2067;IL2075;IL2091;IL2072;IL2090;CA1825;IL2070;IL2098;IL2057</NoWarn> |
21 | 31 |
|
22 | 32 | <!-- Prevent analyzer crashes from stopping things --> |
|
35 | 45 | <NoWarn Condition="'$(TargetFramework)' == 'net462' or '$(TargetFramework)' == 'net472' or '$(TargetFramework)' == 'netstandard2.0'">$(NoWarn);CA1062</NoWarn> |
36 | 46 | </PropertyGroup> |
37 | 47 |
|
38 | | - <!-- .NET 8 specific configurations (https://github.com/dotnet/r9/issues/177) --> |
| 48 | + <!-- .NET 8 specific configurations (https://github.com/dotnet/extensions/issues/4126) --> |
39 | 49 | <PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'"> |
40 | 50 | <!-- Ignore ASP0019: Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key --> |
41 | 51 | <NoWarn>$(NoWarn);ASP0019</NoWarn> |
42 | 52 | </PropertyGroup> |
43 | 53 |
|
44 | 54 | <PropertyGroup> |
45 | | - <!-- Ignore RS1024: Compare symbols correctly (https://github.com/dotnet/r9/issues/177) --> |
| 55 | + <!-- Ignore RS1024: Compare symbols correctly (https://github.com/dotnet/extensions/issues/4127) --> |
46 | 56 | <NoWarn>$(NoWarn);RS1024</NoWarn> |
47 | 57 | </PropertyGroup> |
48 | 58 |
|
|
0 commit comments