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