# ProjectLaunchConfiguration Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ProjectLaunchConfiguration](/reference/api/csharp/aspire.hosting/projectlaunchconfiguration.md)
- Kind: `Properties`
- Members: `7`

The launch configuration used for .NET projects and file-based C# apps.

<a id="buildconfiguration"></a>

## BuildConfiguration

- Name: `BuildConfiguration`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/ApplicationModel/ExecutableLaunchConfiguration.cs)

Gets or sets the build configuration used to produce the project output.

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

## Remarks

The value corresponds to the MSBuild `Configuration` property, such as `Debug` or `Release`.

<a id="buildenvironment"></a>

## BuildEnvironment

- Name: `BuildEnvironment`
- Modifiers: `nullable` `get; set`
- Returns: `Dictionary<string, string>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/ApplicationModel/ExecutableLaunchConfiguration.cs)

Gets or sets the resolved environment variables that affected the externally produced build.

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

## Remarks

IDE launchers use these authoritative values when evaluating build properties such as `TargetPath`. Empty means no project-specific build environment. These values are not a secret transport and can appear in build diagnostics.

<a id="buildworkingdirectory"></a>

## BuildWorkingDirectory

- Name: `BuildWorkingDirectory`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/ApplicationModel/ExecutableLaunchConfiguration.cs)

Gets or sets the working directory used by the externally produced build.

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

## Remarks

IDE launchers use this directory to select the same .NET SDK and repository configuration when evaluating project properties or rebuilding.

<a id="disablelaunchprofile"></a>

## DisableLaunchProfile

- Name: `DisableLaunchProfile`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/ApplicationModel/ExecutableLaunchConfiguration.cs)

Gets or sets a value indicating whether launch profile handling should be suppressed entirely.

```csharp
public bool DisableLaunchProfile { get; set; }
```

<a id="launchprofile"></a>

## LaunchProfile

- Name: `LaunchProfile`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/ApplicationModel/ExecutableLaunchConfiguration.cs)

Gets or sets the name of the launch profile the IDE should apply. Empty means the IDE picks the effective profile itself.

```csharp
public string LaunchProfile { get; set; }
```

<a id="projectpath"></a>

## ProjectPath

- Name: `ProjectPath`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/ApplicationModel/ExecutableLaunchConfiguration.cs)

Gets or sets the fully-qualified path to the project file or file-based app to launch.

```csharp
public string ProjectPath { get; set; }
```

<a id="suppressbuild"></a>

## SuppressBuild

- Name: `SuppressBuild`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/ApplicationModel/ExecutableLaunchConfiguration.cs)

Gets or sets a value indicating whether the IDE should suppress building the project before launch.

```csharp
public bool SuppressBuild { get; set; }
```

## Remarks

When `true`, the project output was produced by an external or coordinated build and the IDE should launch it without rebuilding.
