# PublishingOptions Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [PublishingOptions](/reference/api/csharp/aspire.hosting/publishingoptions.md)
- Kind: `Properties`
- Members: `3`

Represents the options for publishing an application.

## Deploy

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

Gets or sets a value indicating whether the application should be deployed after publishing.

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

## OutputPath

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

Gets or sets the path to the directory where the published output will be written.

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

## Publisher

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

Gets or sets the name of the publisher responsible for publishing the application.

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