# ProjectResourceOptions

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/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.
