IPipelineOutputService.GetOutputDirectory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetOutputDirectory() |
Gets the output directory for deployment artifacts.
If no output path is configured, defaults to |
| GetOutputDirectory(IResource) |
Gets the output directory for a specific resource's deployment artifacts. |
GetOutputDirectory()
- Source:
- IPipelineOutputService.cs
Gets the output directory for deployment artifacts.
If no output path is configured, defaults to {CurrentDirectory}/aspire-output.
public string GetOutputDirectory();
abstract member GetOutputDirectory : unit -> string
Public Function GetOutputDirectory () As String
Returns
The path to the output directory for deployment artifacts.
Applies to
GetOutputDirectory(IResource)
- Source:
- IPipelineOutputService.cs
Gets the output directory for a specific resource's deployment artifacts.
public string GetOutputDirectory(Aspire.Hosting.ApplicationModel.IResource resource);
abstract member GetOutputDirectory : Aspire.Hosting.ApplicationModel.IResource -> string
Public Function GetOutputDirectory (resource As IResource) As String
Parameters
- resource
- IResource
The resource to get the output directory for.
Returns
The path to the output directory for the resource's deployment artifacts.