# ProjectLaunchDefaultsAnnotation

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.5.3`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting/ApplicationModel/ProjectLaunchDefaultsAnnotation.cs)
- Implements: [IResourceAnnotation](/reference/api/csharp/aspire.hosting/iresourceannotation.md)

Marks a resource as launched through the .NET SDK, so that Aspire treats it like a C# project.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public sealed class ProjectLaunchDefaultsAnnotation
    : Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
    // ...
}
```

## Remarks

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.

## Constructors

- [ProjectLaunchDefaultsAnnotation](/reference/api/csharp/aspire.hosting/projectlaunchdefaultsannotation/constructors.md#constructor)
