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)
66var layout = lease?.Layout;
Processes\DcpExecutableResolver.cs (1)
28var dcpDirectory = layoutLease?.Layout.GetDcpPath() ??
Profiling\ProfileCaptureService.cs (1)
66var layout = layoutLease?.Layout;
Projects\AppHostServerProject.cs (1)
125var layout = layoutLease?.Layout;
Projects\DotNetAppHostProject.cs (3)
2687if (!HasEnvironmentOverride(env, "AspireCliBundlePath") && !string.IsNullOrEmpty(layoutLease?.Layout.LayoutPath)) 2689env["AspireCliBundlePath"] = layoutLease.Layout.LayoutPath; 2701var layout = layoutLease?.Layout;
Projects\NativeAppHostServerProject.cs (4)
58path = lease?.Layout.GetAppHostServerPath(); 117var managed = LayoutLease?.Layout.GetManagedPath(); 234if (!suppressRuntimeComponents && LayoutLease?.Layout.GetDcpPath() is { } dcpDirectory) 238if (!suppressRuntimeComponents && LayoutLease?.Layout.GetDashboardPath() is { } dashboardPath)
Utils\EnvironmentChecker\DcpConnectionHealthCheck.cs (1)
46dcpDirectory = layoutLease?.Layout.GetDcpPath();
Aspire.Cli.Tests (3)
BundleServiceIntegrationTests.cs (3)
438var managedPath = layoutLease.Layout.GetManagedPath(); 447Assert.Equal(expectedTrayPath, layoutLease.Layout.GetTrayPath()); 663var managedPath = layoutLease.Layout.GetManagedPath();