Skip to content
DocsTry Aspire
DocsTry

ProjectLaunchDefaultsAnnotation

Classsealednet10.0
📦 Aspire.Hosting v13.5.3
Marks a resource as launched through the .NET SDK, so that Aspire treats it like a C# project.
namespace Aspire.Hosting.ApplicationModel;
public sealed class ProjectLaunchDefaultsAnnotation
: Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
// ...
}
This is a public annotation rather than an interface so resources in other assemblies can opt into the C# project-defaults behavior without implementing a specific interface.