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