Watch Aspire live streamsDocsTry Aspire

DotnetProgramBuildCompletionAnnotation

Classsealednet10.0
📦 Aspire.Hosting v13.6.0
Provides an optional successful-build barrier for consumers of a .NET program's build output.
namespace Aspire.Hosting.ApplicationModel;
public sealed class DotnetProgramBuildCompletionAnnotation
: Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
// ...
}
Consumers invoke the callback before using build output, without waiting for the application's runtime dependencies or readiness. The build owner must support calls before its build plan is finalized, propagate build failures and cancellation, and observe the current build attempt on each invocation. A missing annotation means that the resource does not provide coordinated build readiness.
View all constructors
View all properties