Watch Aspire live streamsDocumentaciónPrueba Aspire
Watch Aspire live streamsDocumentaciónProbar

Compiler Error ASPIREPIPELINES001

Esta página aún no está disponible en tu idioma.

Version introduced: 13.0

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

Aspire introduced pipeline infrastructure APIs starting in version 9.2. These APIs provide core functionality for building deployment pipelines, including interfaces and types for pipeline activity reporting, step management, and pipeline execution contexts. Pipeline infrastructure enables you to create custom deployment workflows and track their execution.

Pipeline infrastructure APIs are considered experimental and are expected to change in future updates.

This diagnostic applies to the following pipeline infrastructure APIs:

  • IDistributedApplicationPipeline - Interface for configuring pipeline steps
  • PipelineStep - Class that defines a pipeline action and its dependencies
  • PipelineContext and PipelineStepContext - Contexts provided during pipeline execution
  • IPipelineActivityReporter - Interface for reporting pipeline activities
  • IReportingStep - Interface for managing pipeline steps
  • IReportingTask - Interface for managing tasks within a step
  • WellKnownPipelineSteps and WellKnownPipelineTags - Constants for standard steps and tags
  • 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.ASPIREPIPELINES001.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);ASPIREPIPELINES001</NoWarn>
    </PropertyGroup>
  • Suppress in code with the #pragma warning disable ASPIREPIPELINES001 directive.