8 references to _options
Aspire.Hosting (8)
Publishing\ManifestPublisher.cs (8)
31
if (
_options
.Value.OutputPath == null)
38
if (!
_options
.Value.OutputPath.EndsWith(".json"))
45
_options
.Value.OutputPath = Path.Combine(
_options
.Value.OutputPath, "aspire-manifest.json");
48
var parentDirectory = Directory.GetParent(
_options
.Value.OutputPath);
55
using var stream = new FileStream(
_options
.Value.OutputPath, FileMode.Create);
60
var fullyQualifiedPath = Path.GetFullPath(
_options
.Value.OutputPath);
66
var manifestPath =
_options
.Value.OutputPath ?? throw new DistributedApplicationException("The '--output-path [path]' option was not specified even though '--publisher manifest' argument was used.");