# LaunchProfile Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [LaunchProfile](/reference/api/csharp/aspire.hosting/launchprofile.md)
- Kind: `Properties`
- Members: `8`

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

## ApplicationUrl

- Name: `ApplicationUrl`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/LaunchProfile.cs)

Gets or sets the application URL for the launch profile.

```csharp
public string? ApplicationUrl { get; set; }
```

## CommandLineArgs

- Name: `CommandLineArgs`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/LaunchProfile.cs)

Gets or sets the command line arguments for the launch profile.

```csharp
public string? CommandLineArgs { get; set; }
```

## CommandName

- Name: `CommandName`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/LaunchProfile.cs)

Gets or sets the name of the launch profile.

```csharp
public string? CommandName { get; set; }
```

## DotnetRunMessages

- Name: `DotnetRunMessages`
- Modifiers: `nullable` `get; set`
- Returns: `bool?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/LaunchProfile.cs)

Gets or sets whether the project is configured to emit logs when running with dotnet run.

```csharp
public bool? DotnetRunMessages { get; set; }
```

## EnvironmentVariables

- Name: `EnvironmentVariables`
- Modifiers: `get; set`
- Returns: `Dictionary<string, string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/LaunchProfile.cs)

Gets or sets the environment variables for the launch profile.

```csharp
public Dictionary<string, string> EnvironmentVariables { get; set; }
```

## ExecutablePath

- Name: `ExecutablePath`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/LaunchProfile.cs)

Gets or sets the executable path for the launch profile.

```csharp
public string? ExecutablePath { get; set; }
```

## LaunchBrowser

- Name: `LaunchBrowser`
- Modifiers: `nullable` `get; set`
- Returns: `bool?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/LaunchProfile.cs)

Gets or sets the launch browser flag for the launch profile.

```csharp
public bool? LaunchBrowser { get; set; }
```

## LaunchUrl

- Name: `LaunchUrl`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/LaunchProfile.cs)

Gets or sets the launch URL for the launch profile.

```csharp
public string? LaunchUrl { get; set; }
```
