Skip to content

Commit b09ac4f

Browse files
author
evgenyfedorov2
committed
Suppress LA0006
1 parent 01f2b5b commit b09ac4f

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware/Microsoft.AspNetCore.Diagnostics.Middleware.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<Description>ASP.NET Core middleware for collecting high-quality telemetry.</Description>
55
<PackageTags>$(PackageTags);aspnetcore</PackageTags>
66
<Workstream>Telemetry</Workstream>
7+
<!-- disable "Published symbols cannot be deleted to maintain compatibility" because we have different APIs for different TFMs -->
8+
<NoWarn Condition="'$(TargetFramework)' == 'net462'">$(NoWarn);LA0006</NoWarn>
79
</PropertyGroup>
810

911
<PropertyGroup>

src/Libraries/Microsoft.Extensions.Telemetry.Abstractions/Microsoft.Extensions.Telemetry.Abstractions.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<RootNamespace>Microsoft.Extensions.Telemetry</RootNamespace>
44
<Description>Common abstractions for high-level telemetry primitives.</Description>
55
<Workstream>Telemetry</Workstream>
6+
<!-- disable "Published symbols cannot be deleted to maintain compatibility" because we have different APIs for different TFMs -->
7+
<NoWarn Condition="'$(TargetFramework)' == 'net462'">$(NoWarn);LA0006</NoWarn>
68
</PropertyGroup>
79

810
<PropertyGroup>

src/Libraries/Microsoft.Extensions.Telemetry/Microsoft.Extensions.Telemetry.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<RootNamespace>Microsoft.Extensions.Diagnostics</RootNamespace>
44
<Description>Provides canonical implementations of telemetry abstractions.</Description>
55
<Workstream>Telemetry</Workstream>
6+
<!-- disable :Published symbols cannot be deleted to maintain compatibility" because we have different APIs for different TFMs -->
7+
<NoWarn Condition="'$(TargetFramework)' == 'net462'">$(NoWarn);LA0006</NoWarn>
68
</PropertyGroup>
79

810
<PropertyGroup>

0 commit comments

Comments
 (0)