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