18 references to GetDashboardPath
aspire (5)
Commands\DashboardRunCommand.cs (1)
112var dashboardPath = layout.GetDashboardPath();
Layout\LayoutConfiguration.cs (1)
230if (supportsNativeDashboard && layout.GetDashboardPath() is { } dashboardPath && File.Exists(dashboardPath))
Layout\LayoutDiscovery.cs (1)
371var dashboardPath = layout.GetDashboardPath();
Profiling\ProfileCaptureService.cs (1)
67dashboardPath = layout?.GetDashboardPath();
Projects\NativeAppHostServerProject.cs (1)
236if (!suppressRuntimeComponents && LayoutLease?.Layout.GetDashboardPath() is { } dashboardPath)
Aspire.Cli.Tests (13)
Layout\LayoutConfigurationTests.cs (1)
90var dashboardPath = Assert.IsType<string>(layout.GetDashboardPath());
Layout\LayoutDiscoveryReparsePointTests.cs (2)
129layout.GetDashboardPath()); 300Assert.Equal(dashboardPath, layout.GetDashboardPath());
Projects\DotNetAppHostProjectTests.cs (5)
449File.Delete(layout.GetDashboardPath()!); 489useNativeDashboard ? layout.GetDashboardPath() : layout.GetManagedPath(), 665Assert.Equal(layout.GetDashboardPath(), env[BundleDiscovery.DashboardPathEnvVar]); 734File.Delete(layout.GetDashboardPath()!); 2300supportsNativeDashboard ? layout.GetDashboardPath() : layout.GetManagedPath(),
Projects\NativeAppHostServerProjectTests.cs (1)
319Assert.Equal(useLayout ? layout.GetDashboardPath()
Projects\PrebuiltAppHostServerTests.cs (4)
5143var dashboardPath = Assert.IsType<string>(layout.GetDashboardPath()); 5170File.WriteAllText(Assert.IsType<string>(layout.GetDashboardPath()), string.Empty); 5195var dashboardPath = Assert.IsType<string>(layout.GetDashboardPath()); 5255File.WriteAllText(Assert.IsType<string>(layout.GetDashboardPath()), string.Empty);