Skip to content

Commit

Permalink
Remove NoWarns completely
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorHofer authored Jan 17, 2025
1 parent cd5121c commit 76cdeef
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 27 deletions.
11 changes: 0 additions & 11 deletions src/Caching/SqlServer/src/CompatibilitySuppressions.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageTags>cache;distributedcache;sqlserver</PackageTags>
<ExcludeFromSourceOnlyBuild>true</ExcludeFromSourceOnlyBuild>
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
<NoWarn>$(NoWarn);PKG0001;CP1002</NoWarn>
<NoWarn>$(NoWarn);PKG0001</NoWarn>
<IsPackable>true</IsPackable>
<IsShipping>true</IsShipping>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
<Nullable>annotations</Nullable>
<Nullable Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">enable</Nullable>
<IsTrimmable>true</IsTrimmable>
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
<NoWarn>$(NoWarn);CP1002</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageTags>aspnetcore;dataprotection</PackageTags>
<IsTrimmable>true</IsTrimmable>
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
<NoWarn>$(NoWarn);CP1002</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageTags>aspnetcore;dataprotection;redis</PackageTags>
<IsTrimmable>true</IsTrimmable>
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
<NoWarn>$(NoWarn);CP1002</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageTags>aspnetcore;json;jsonpatch</PackageTags>
<Nullable>disable</Nullable>
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
<NoWarn>$(NoWarn);CP1002</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
<NoPackageAnalysis>true</NoPackageAnalysis>
<Nullable>enable</Nullable>
<IsTrimmable>true</IsTrimmable>
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
<NoWarn>$(NoWarn);CP1002</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<RootNamespace>Microsoft.AspNetCore.SignalR</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>enable</Nullable>
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
<NoWarn>$(NoWarn);CP1002</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<RootNamespace>Microsoft.AspNetCore.SignalR</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>enable</Nullable>
<!-- Temporarily suppress APICompat CP1002 which warns on .NET Framework as it can't find load internal assemblies: SMDiagnostics.dll and System.ServiceModel.Internals.dll -->
<NoWarn>$(NoWarn);CP1002</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 76cdeef

Please sign in to comment.