콘텐츠로 이동

Compiler Error ASPIREPIPELINES002

이 콘텐츠는 아직 번역되지 않았습니다.

Version introduced: 13.0

Deployment state manager APIs are for evaluation purposes only and are subject to change or removal in future updates. Suppress this diagnostic to proceed.

Aspire introduced deployment state manager APIs as part of the pipeline infrastructure starting in version 13.0. These APIs enable you to manage and persist deployment state information across pipeline executions. The deployment state manager provides functionality for storing, retrieving, and clearing deployment artifacts and metadata, which is essential for incremental deployments and tracking deployment history.

Deployment state manager APIs are considered experimental and are expected to change in future updates.

This diagnostic applies to the following deployment state manager APIs:

  • IDeploymentStateManager - Interface for managing deployment state
  • Deployment state manager implementations
  • Deploy property in PublishingOptions
  • ClearCache property in PublishingOptions
  • Step property in PublishingOptions
  • DeployingCallbackAnnotation - Annotation for deploying callbacks
  • Azure provisioning context providers
  • Related extension methods and implementations

Suppress the error with one of the following methods:

  • Set the severity of the rule in the .editorconfig file.

    .editorconfig
    [*.{cs,vb}]
    dotnet_diagnostic.ASPIREPIPELINES002.severity = none

    For more information about editor config files, see Configuration files for code analysis rules.

  • Add the following PropertyGroup to your project file:

    C# project file
    <PropertyGroup>
    <NoWarn>$(NoWarn);ASPIREPIPELINES002</NoWarn>
    </PropertyGroup>
  • Suppress in code with the #pragma warning disable ASPIREPIPELINES002 directive.

질문 & 답변협업커뮤니티토론보기