22 writes to OutputPath
Aspire.Hosting (2)
ApplicationModel\DotnetProgramPublishing.cs (1)
216OutputPath = runtimeOutputPath,
Publishing\ResourceContainerImageManager.cs (1)
981OutputPath = options.OutputPath,
Aspire.Hosting.Tests (20)
Publishing\DockerContainerRuntimeTests.cs (8)
37OutputPath = "out", 79OutputPath = "out", 112OutputPath = "out", 162OutputPath = "out", 200OutputPath = "out", 243OutputPath = "out", 361OutputPath = "out", 387OutputPath = "out",
Publishing\PodmanSaveArgumentsTests.cs (11)
24OutputPath = Path.Combine("out", "archives"), 41OutputPath = Path.Combine("out", "archives"), 58OutputPath = Path.Combine("out", "archives") 77OutputPath = outputPath, 122OutputPath = outputPath, 141OutputPath = "out", 161OutputPath = outputPath, 183OutputPath = outputPath, 204OutputPath = "out", 226OutputPath = "out", 248OutputPath = "out",
Publishing\ResourceContainerImageManagerTests.cs (1)
437OutputPath = "/custom/path",
20 references to OutputPath
Aspire.Hosting (9)
Publishing\DockerContainerRuntime.cs (6)
36var exportsArchive = !string.IsNullOrEmpty(options?.OutputPath); 82(options?.ImageFormat is not null || !string.IsNullOrEmpty(options?.OutputPath))) 92if (!string.IsNullOrEmpty(options?.OutputPath)) 94var archivePath = ResourceExtensions.GetContainerImageArchivePath(options.OutputPath, imageName); 157!string.IsNullOrEmpty(options.OutputPath)) 244var outputPath = options.OutputPath;
Publishing\PodmanContainerRuntime.cs (3)
151if (options.ImageFormat == ContainerImageFormat.Oci && string.IsNullOrEmpty(options.OutputPath)) 227if (!string.IsNullOrEmpty(options?.OutputPath)) 279var archivePath = ResourceExtensions.GetContainerImageArchivePath(options.OutputPath!, imageName);
Aspire.Hosting.Tests (11)
Publishing\DotnetProgramArchiveTests.cs (6)
54Assert.False(Directory.Exists(layeredOptions.OutputPath)); 241Assert.False(Directory.Exists(layeredBuild.options!.OutputPath)); 256var archivePath = ResourceExtensions.GetContainerImageArchivePath(options!.OutputPath!, options.ImageName!, options.Tag); 300Assert.False(Directory.Exists(layeredBuild.options!.OutputPath)); 371Assert.False(Directory.Exists(Assert.Single(runtime.BuildImageCalls).options!.OutputPath)); 455buildOptions.OutputPath!,
Publishing\ResourceContainerImageManagerTests.cs (5)
442Assert.Equal("/custom/path", options.OutputPath); 916Assert.NotEqual(archivePath, options.OutputPath); 917Assert.True(Directory.Exists(options.OutputPath)); 923options.OutputPath!, 964Assert.False(Directory.Exists(layeredOptions.OutputPath));