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