# ProjectResourceOptions

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/ProjectResourceOptions.cs)

Various properties to modify the behavior of the project resource.

## Definition

```csharp
namespace Aspire.Hosting;

public class ProjectResourceOptions
{
    // ...
}
```

## ATS metadata

### ATS export

- Type ID: `Aspire.Hosting/ProjectResourceOptions`
- Public instance properties are exported as ATS capabilities.

## Constructors

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

## Properties

- [ExcludeKestrelEndpoints](/reference/api/csharp/aspire.hosting/projectresourceoptions/properties.md#excludekestrelendpoints) : `bool` `get; set` -- If set, ignore endpoints coming from Kestrel configuration.
- [ExcludeLaunchProfile](/reference/api/csharp/aspire.hosting/projectresourceoptions/properties.md#excludelaunchprofile) : `bool` `get; set` -- If set, no launch profile will be used, and LaunchProfileName will be ignored.
- [LaunchProfileName](/reference/api/csharp/aspire.hosting/projectresourceoptions/properties.md#launchprofilename) : `string?` `get; set` -- The launch profile to use. If `null` then the default launch profile will be used.
