Skip to content

Commit 55aa8c9

Browse files
davidfowlCopilot
andcommitted
Add API compat suppressions for new interface members
Suppress CP0006 for ClearAllStateAsync added to IDeploymentStateManager and Compose methods added to IContainerRuntime. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3f531d5 commit 55aa8c9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Aspire.Hosting/CompatibilitySuppressions.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
33
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
4+
<Suppression>
5+
<DiagnosticId>CP0006</DiagnosticId>
6+
<Target>M:Aspire.Hosting.Pipelines.IDeploymentStateManager.ClearAllStateAsync(System.Threading.CancellationToken)</Target>
7+
<Left>lib/net8.0/Aspire.Hosting.dll</Left>
8+
<Right>lib/net8.0/Aspire.Hosting.dll</Right>
9+
<IsBaselineSuppression>true</IsBaselineSuppression>
10+
</Suppression>
411
<Suppression>
512
<DiagnosticId>CP0006</DiagnosticId>
613
<Target>M:Aspire.Hosting.Publishing.IContainerRuntime.ComposeDownAsync(Aspire.Hosting.Publishing.ComposeOperationContext,System.Threading.CancellationToken)</Target>

0 commit comments

Comments
 (0)