16 references to GetDashboardPath
aspire (4)
Commands\DashboardRunCommand.cs (1)
112var dashboardPath = layout.GetDashboardPath();
Layout\LayoutConfiguration.cs (1)
215if (supportsNativeDashboard && layout.GetDashboardPath() is { } dashboardPath && File.Exists(dashboardPath))
Layout\LayoutDiscovery.cs (1)
370var dashboardPath = layout.GetDashboardPath();
Profiling\ProfileCaptureService.cs (1)
67dashboardPath = layout?.GetDashboardPath();
Aspire.Cli.Tests (12)
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\PrebuiltAppHostServerTests.cs (4)
3055var dashboardPath = Assert.IsType<string>(layout.GetDashboardPath()); 3082File.WriteAllText(Assert.IsType<string>(layout.GetDashboardPath()), string.Empty); 3107var dashboardPath = Assert.IsType<string>(layout.GetDashboardPath()); 3167File.WriteAllText(Assert.IsType<string>(layout.GetDashboardPath()), string.Empty);