# DotnetProjectOptions

- Module: [Aspire.Hosting.Dotnet](/reference/api/go/aspire.hosting.dotnet.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Launch options for a .NET project in a polyglot AppHost.

## Definition

```go
type DotnetProjectOptions struct {
    LaunchProfileName       *string `json:"LaunchProfileName"`
    ExcludeLaunchProfile    *bool   `json:"ExcludeLaunchProfile"`
    ExcludeKestrelEndpoints *bool   `json:"ExcludeKestrelEndpoints"`
}
```

## Fields

- `LaunchProfileName`: `*string` `optional` -- The launch profile to use. If omitted or null, the default launch profile is used.
- `ExcludeLaunchProfile`: `*bool` `optional` -- Whether to disable launch profiles. When true, the launch profile name is ignored.
- `ExcludeKestrelEndpoints`: `*bool` `optional` -- Whether to ignore endpoints from Kestrel configuration.
