# ProjectBuildTarget

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `17.0.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/ProjectBuildTarget.cs)

Identifies the project output produced by an externally coordinated build.

## Definition

```csharp
namespace Aspire.Hosting;

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

## Constructors

- [ProjectBuildTarget(string, bool)](/reference/api/csharp/aspire.hosting/projectbuildtarget/constructors.md#constructor-string-bool) -- Initializes a new instance of the [ProjectBuildTarget](/reference/api/csharp/aspire.hosting/projectbuildtarget.md) class.

## Properties

- [TargetPath](/reference/api/csharp/aspire.hosting/projectbuildtarget/properties.md#targetpath) : `string` `get` -- Gets the fully-qualified MSBuild `TargetPath`.
- [UseAppHost](/reference/api/csharp/aspire.hosting/projectbuildtarget/properties.md#useapphost) : `bool` `get` -- Gets a value indicating whether the project output includes an apphost executable.
