Skip to content

Commit 76cdeef

Browse files
authored
Remove NoWarns completely
1 parent cd5121c commit 76cdeef

File tree

9 files changed

+1
-27
lines changed

9 files changed

+1
-27
lines changed

src/Caching/SqlServer/src/CompatibilitySuppressions.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/Caching/SqlServer/src/Microsoft.Extensions.Caching.SqlServer.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
<PackageTags>cache;distributedcache;sqlserver</PackageTags>
88
<ExcludeFromSourceOnlyBuild>true</ExcludeFromSourceOnlyBuild>
9-
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
10-
<NoWarn>$(NoWarn);PKG0001;CP1002</NoWarn>
9+
<NoWarn>$(NoWarn);PKG0001</NoWarn>
1110
<IsPackable>true</IsPackable>
1211
<IsShipping>true</IsShipping>
1312
</PropertyGroup>

src/DataProtection/DataProtection/src/Microsoft.AspNetCore.DataProtection.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
<Nullable>annotations</Nullable>
1313
<Nullable Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">enable</Nullable>
1414
<IsTrimmable>true</IsTrimmable>
15-
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
16-
<NoWarn>$(NoWarn);CP1002</NoWarn>
1715
</PropertyGroup>
1816

1917
<ItemGroup>

src/DataProtection/Extensions/src/Microsoft.AspNetCore.DataProtection.Extensions.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
<GenerateDocumentationFile>true</GenerateDocumentationFile>
99
<PackageTags>aspnetcore;dataprotection</PackageTags>
1010
<IsTrimmable>true</IsTrimmable>
11-
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
12-
<NoWarn>$(NoWarn);CP1002</NoWarn>
1311
</PropertyGroup>
1412

1513
<ItemGroup>

src/DataProtection/StackExchangeRedis/src/Microsoft.AspNetCore.DataProtection.StackExchangeRedis.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88
<PackageTags>aspnetcore;dataprotection;redis</PackageTags>
99
<IsTrimmable>true</IsTrimmable>
10-
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
11-
<NoWarn>$(NoWarn);CP1002</NoWarn>
1210
</PropertyGroup>
1311

1412
<ItemGroup>

src/Features/JsonPatch/src/Microsoft.AspNetCore.JsonPatch.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
<GenerateDocumentationFile>true</GenerateDocumentationFile>
99
<PackageTags>aspnetcore;json;jsonpatch</PackageTags>
1010
<Nullable>disable</Nullable>
11-
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
12-
<NoWarn>$(NoWarn);CP1002</NoWarn>
1311
</PropertyGroup>
1412

1513
<ItemGroup>

src/FileProviders/Embedded/src/Microsoft.Extensions.FileProviders.Embedded.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
<NoPackageAnalysis>true</NoPackageAnalysis>
1414
<Nullable>enable</Nullable>
1515
<IsTrimmable>true</IsTrimmable>
16-
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
17-
<NoWarn>$(NoWarn);CP1002</NoWarn>
1816
</PropertyGroup>
1917

2018
<ItemGroup>

src/SignalR/common/Protocols.MessagePack/src/Microsoft.AspNetCore.SignalR.Protocols.MessagePack.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
<RootNamespace>Microsoft.AspNetCore.SignalR</RootNamespace>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<Nullable>enable</Nullable>
9-
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
10-
<NoWarn>$(NoWarn);CP1002</NoWarn>
119
</PropertyGroup>
1210

1311
<ItemGroup>

src/SignalR/common/Protocols.NewtonsoftJson/src/Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
<RootNamespace>Microsoft.AspNetCore.SignalR</RootNamespace>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88
<Nullable>enable</Nullable>
9-
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
10-
<NoWarn>$(NoWarn);CP1002</NoWarn>
119
</PropertyGroup>
1210

1311
<ItemGroup>

0 commit comments

Comments
 (0)