25 writes to LayoutPath
aspire (3)
Bundles\BundleService.cs (1)
718
LayoutPath
= versionDirectory,
Layout\LayoutDiscovery.cs (2)
271
LayoutPath
= layoutPath,
311
LayoutPath
= layoutPath,
Aspire.Cli.Tests (22)
BundleServiceIntegrationTests.cs (1)
641
LayoutPath
= layoutRoot,
Commands\DashboardRunCommandTests.cs (1)
638
LayoutPath
= layoutDir,
Commands\StopCommandTests.cs (1)
1233
LayoutPath
= layoutRoot.FullName,
DotNet\ProcessExecutionDetachedTests.cs (3)
332
LayoutPath
= versionDirectory.FullName
386
LayoutPath
= versionDirectory.FullName
436
LayoutPath
= versionDirectory.FullName
NuGet\BundleNuGetPackageCacheTests.cs (3)
21
LayoutPath
= workspace.WorkspaceRoot.FullName,
76
LayoutPath
= workspace.WorkspaceRoot.FullName,
125
LayoutPath
= workspace.WorkspaceRoot.FullName,
NuGet\BundleNuGetServiceTests.cs (9)
36
new FixedLayoutDiscovery(new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }),
72
new FixedLayoutDiscovery(new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }),
114
new FixedLayoutDiscovery(new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }),
160
new FixedLayoutDiscovery(new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }),
211
new FixedLayoutDiscovery(new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }),
240
new FixedLayoutDiscovery(new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }),
275
new FixedLayoutDiscovery(new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }),
354
new FixedLayoutDiscovery(new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }),
403
new FixedLayoutDiscovery(new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }),
Processes\ProcessTreeGracefulShutdownServiceTests.cs (1)
97
Layout = new LayoutConfiguration {
LayoutPath
= versionRoot.FullName }
ProfileCaptureServiceTests.cs (1)
98
Layout = new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }
Projects\DotNetAppHostProjectTests.cs (1)
4249
LayoutPath
= bundleRoot.FullName,
Projects\PrebuiltAppHostServerTests.cs (1)
2864
return new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName };
15 references to LayoutPath
aspire (6)
Layout\LayoutConfiguration.cs (2)
57
if (string.IsNullOrEmpty(
LayoutPath
))
70
return relativePath is not null ? Path.Combine(
LayoutPath
, relativePath) : null;
Layout\LayoutDiscovery.cs (2)
72
_logger.LogDebug("Discovered layout relative to CLI: {Path}", relativeLayout.
LayoutPath
);
87
_logger.LogDebug("Discovered layout in Aspire home: {Path}", aspireHomeLayout.
LayoutPath
);
Projects\DotNetAppHostProject.cs (2)
2558
if (!HasEnvironmentOverride(env, "AspireCliBundlePath") && !string.IsNullOrEmpty(layout?.
LayoutPath
))
2560
env["AspireCliBundlePath"] = layout.
LayoutPath
;
Aspire.Cli.Tests (9)
DotNet\ProcessExecutionDetachedTests.cs (2)
589
var versionLease = BundleVersionLease.Acquire(layout.
LayoutPath
!, holderKind, commandName);
629
var versionLease = BundleVersionLease.Acquire(layout.
LayoutPath
!, holderKind, commandName);
Layout\LayoutDiscoveryReparsePointTests.cs (7)
59
Assert.Equal(realLayoutRoot, layout!.
LayoutPath
);
88
Assert.Equal(rawLayoutRoot, layout!.
LayoutPath
);
121
Assert.Equal(layoutRoot, layout!.
LayoutPath
);
160
Assert.Equal(aspireHome, layout!.
LayoutPath
);
206
Assert.Equal(relativeLayoutRoot, layout!.
LayoutPath
);
207
Assert.NotEqual(aspireHome, layout.
LayoutPath
);
240
Assert.NotEqual(layoutRoot, layout?.
LayoutPath
);