23 writes to OutputPath
Aspire.Hosting (2)
ApplicationModel\DotnetProgramPublishing.cs (1)
216OutputPath = runtimeOutputPath,
Publishing\ResourceContainerImageManager.cs (1)
1032OutputPath = options.OutputPath,
Aspire.Hosting.Tests (21)
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)
531OutputPath = "/custom/path",
Publishing\WslcContainerRuntimeTests.cs (1)
139new ContainerImageBuildOptions { ImageName = "myapp", ImageFormat = format, OutputPath = outputPath, Destination = destination },
21 references to OutputPath
Aspire.Hosting (10)
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);
Publishing\WslcContainerRuntime.cs (1)
60!string.IsNullOrEmpty(options?.OutputPath) ||
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)); 457buildOptions.OutputPath!,
Publishing\ResourceContainerImageManagerTests.cs (5)
536Assert.Equal("/custom/path", options.OutputPath); 1012Assert.NotEqual(archivePath, options.OutputPath); 1013Assert.True(Directory.Exists(options.OutputPath)); 1019options.OutputPath!, 1060Assert.False(Directory.Exists(layeredOptions.OutputPath));