Compiler Error ASPIREPIPELINES001
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
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 publishing 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.
APIs affected
Section titled “APIs affected”This diagnostic applies to the following pipeline infrastructure APIs:
IPipelineActivityReporter- Interface for reporting pipeline activitiesIReportingStep- Interface for managing pipeline stepsIReportingTask- Interface for managing tasks within a stepCompletionState- Enumeration for tracking completion statusPublishingContext- Context for publishing operationsPublishingCallbackAnnotation- Annotation for publishing callbacks- Related extension methods and implementations
To correct this error
Section titled “To correct this error”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 = noneFor more information about editor config files, see Configuration files for code analysis rules.
-
Add the following
PropertyGroupto your project file:C# project file <PropertyGroup><NoWarn>$(NoWarn);ASPIREPIPELINES001</NoWarn></PropertyGroup> -
Suppress in code with the
#pragma warning disable ASPIREPIPELINES001directive.