1 write to Layout
aspire (1)
Bundles\BundleLayoutLease.cs (1)
19Layout = layout;
17 references to Layout
aspire (14)
Commands\DashboardRunCommand.cs (1)
106var layout = layoutLease?.Layout;
Commands\DcpWorkloadCleanupService.cs (1)
26var dcpDirectory = layoutLease?.Layout.GetDcpPath() ??
Commands\TrayLifecycleService.cs (1)
63var layout = lease?.Layout;
Processes\DcpExecutableResolver.cs (1)
28var dcpDirectory = layoutLease?.Layout.GetDcpPath() ??
Profiling\ProfileCaptureService.cs (1)
66var layout = layoutLease?.Layout;
Projects\AppHostServerProject.cs (1)
112var layout = layoutLease?.Layout;
Projects\DotNetAppHostProject.cs (3)
2606if (!HasEnvironmentOverride(env, "AspireCliBundlePath") && !string.IsNullOrEmpty(layoutLease?.Layout.LayoutPath)) 2608env["AspireCliBundlePath"] = layoutLease.Layout.LayoutPath; 2620var layout = layoutLease?.Layout;
Projects\NativeAppHostServerProject.cs (4)
56path = lease?.Layout.GetAppHostServerPath(); 115var managed = LayoutLease?.Layout.GetManagedPath(); 232if (!suppressRuntimeComponents && LayoutLease?.Layout.GetDcpPath() is { } dcpDirectory) 236if (!suppressRuntimeComponents && LayoutLease?.Layout.GetDashboardPath() is { } dashboardPath)
Utils\EnvironmentChecker\DcpConnectionHealthCheck.cs (1)
46dcpDirectory = layoutLease?.Layout.GetDcpPath();
Aspire.Cli.Tests (3)
BundleServiceIntegrationTests.cs (3)
369var managedPath = layoutLease.Layout.GetManagedPath(); 378Assert.Equal(expectedTrayPath, layoutLease.Layout.GetTrayPath()); 594var managedPath = layoutLease.Layout.GetManagedPath();