16 writes to LayoutPath
aspire (3)
Bundles\BundleService.cs (1)
728
LayoutPath
= versionDirectory,
Layout\LayoutDiscovery.cs (2)
276
LayoutPath
= layoutPath,
321
LayoutPath
= layoutPath,
Aspire.Cli.Tests (13)
BundleServiceIntegrationTests.cs (1)
803
LayoutPath
= layoutRoot,
Commands\DashboardRunCommandTests.cs (1)
698
LayoutPath
= layoutDir,
Commands\StopCommandTests.cs (1)
1264
LayoutPath
= layoutRoot.FullName,
DotNet\ProcessExecutionDetachedTests.cs (3)
332
LayoutPath
= versionDirectory.FullName
386
LayoutPath
= versionDirectory.FullName
436
LayoutPath
= versionDirectory.FullName
Layout\LayoutConfigurationTests.cs (1)
48
var layout = new LayoutConfiguration {
LayoutPath
= workspace.WorkspaceRoot.FullName };
Processes\ProcessTreeGracefulShutdownServiceTests.cs (1)
97
Layout = new LayoutConfiguration {
LayoutPath
= versionRoot.FullName }
ProfileCaptureServiceTests.cs (2)
128
Layout = new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }
161
Layout = new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName }
Projects\DotNetAppHostProjectTests.cs (1)
4651
LayoutPath
= bundleRoot.FullName,
Projects\PrebuiltAppHostServerTests.cs (1)
2762
return new LayoutConfiguration {
LayoutPath
= layoutRoot.FullName };
Utils\CliTestHelper.cs (1)
831
LayoutPath
= Path.GetDirectoryName(dcpDirectory),
18 references to LayoutPath
aspire (6)
Layout\LayoutConfiguration.cs (2)
60
if (string.IsNullOrEmpty(
LayoutPath
))
74
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)
2612
if (!HasEnvironmentOverride(env, "AspireCliBundlePath") && !string.IsNullOrEmpty(layout?.
LayoutPath
))
2614
env["AspireCliBundlePath"] = layout.
LayoutPath
;
Aspire.Cli.Tests (12)
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 (10)
59
Assert.Equal(realLayoutRoot, layout!.
LayoutPath
);
88
Assert.Equal(rawLayoutRoot, layout!.
LayoutPath
);
125
Assert.Equal(layoutRoot, layout!.
LayoutPath
);
167
Assert.Equal(aspireHome, layout!.
LayoutPath
);
213
Assert.Equal(relativeLayoutRoot, layout!.
LayoutPath
);
214
Assert.NotEqual(aspireHome, layout.
LayoutPath
);
251
Assert.NotEqual(layoutRoot, layout?.
LayoutPath
);
286
Assert.NotEqual(layoutRoot, discovery.DiscoverLayout()?.
LayoutPath
);
289
Assert.NotEqual(layoutRoot, discovery.DiscoverLayout()?.
LayoutPath
);
296
Assert.Equal(layoutRoot, layout.
LayoutPath
);