# ExecutableAnnotation Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ExecutableAnnotation](/reference/api/csharp/aspire.hosting/executableannotation.md)
- Kind: `Properties`
- Members: `2`

Represents an annotation for a container image.

## Command

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

Gets or sets the command associated with this executable resource.

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

## WorkingDirectory

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

Gets or sets the working directory for the executable resource.

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