Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

ExecutableAnnotation Properties

ClassProperties3 members
Represents an annotation for a container image.
Gets or sets the command associated with this executable resource.
public string Command { get; set; }
WorkingDirectorySection titled WorkingDirectorystring
Gets or sets the working directory for the executable resource.
public string WorkingDirectory { get; set; }
WorkingDirectoryExplicitlySetSection titled WorkingDirectoryExplicitlySetbool
Gets a value indicating whether the working directory was explicitly set through the resource builder.
public bool WorkingDirectoryExplicitlySet { get; }
The initial value is established by the resource's integration. Integrations that resolve runtime defaults later can use this value to avoid overwriting a working directory explicitly authored with WithWorkingDirectory.