# LaunchProfile

- 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/LaunchProfile.cs)

Represents a launch profile for a [ProjectResource](/reference/api/csharp/aspire.hosting/projectresource.md).

## Definition

```csharp
namespace Aspire.Hosting;

public sealed class LaunchProfile
{
    // ...
}
```

## Constructors

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

## Properties

- [ApplicationUrl](/reference/api/csharp/aspire.hosting/launchprofile/properties.md#applicationurl) : `string?` `get; set` -- Gets or sets the application URL for the launch profile.
- [CommandLineArgs](/reference/api/csharp/aspire.hosting/launchprofile/properties.md#commandlineargs) : `string?` `get; set` -- Gets or sets the command line arguments for the launch profile.
- [CommandName](/reference/api/csharp/aspire.hosting/launchprofile/properties.md#commandname) : `string?` `get; set` -- Gets or sets the name of the launch profile.
- [DotnetRunMessages](/reference/api/csharp/aspire.hosting/launchprofile/properties.md#dotnetrunmessages) : `bool?` `get; set` -- Gets or sets whether the project is configured to emit logs when running with dotnet run.
- [EnvironmentVariables](/reference/api/csharp/aspire.hosting/launchprofile/properties.md#environmentvariables) : `Dictionary<string, string>` `get; set` -- Gets or sets the environment variables for the launch profile.
- [ExecutablePath](/reference/api/csharp/aspire.hosting/launchprofile/properties.md#executablepath) : `string?` `get; set` -- Gets or sets the executable path for the launch profile.
- [LaunchBrowser](/reference/api/csharp/aspire.hosting/launchprofile/properties.md#launchbrowser) : `bool?` `get; set` -- Gets or sets the launch browser flag for the launch profile.
- [LaunchUrl](/reference/api/csharp/aspire.hosting/launchprofile/properties.md#launchurl) : `string?` `get; set` -- Gets or sets the launch URL for the launch profile.
