16 references to GetDashboardPath
aspire (4)
Commands\DashboardRunCommand.cs (1)
111var dashboardPath = layout.GetDashboardPath();
Layout\LayoutConfiguration.cs (1)
156if (supportsNativeDashboard && layout.GetDashboardPath() is { } dashboardPath && File.Exists(dashboardPath))
Layout\LayoutDiscovery.cs (1)
353var dashboardPath = layout.GetDashboardPath();
Profiling\ProfileCaptureService.cs (1)
68dashboardPath = layout?.GetDashboardPath();
Aspire.Cli.Tests (12)
Layout\LayoutConfigurationTests.cs (1)
49var dashboardPath = Assert.IsType<string>(layout.GetDashboardPath());
Layout\LayoutDiscoveryReparsePointTests.cs (2)
128layout.GetDashboardPath()); 297Assert.Equal(dashboardPath, layout.GetDashboardPath());
Projects\DotNetAppHostProjectTests.cs (5)
445File.Delete(layout.GetDashboardPath()!); 478useNativeDashboard ? layout.GetDashboardPath() : layout.GetManagedPath(), 655Assert.Equal(layout.GetDashboardPath(), env[BundleDiscovery.DashboardPathEnvVar]); 724File.Delete(layout.GetDashboardPath()!); 2257supportsNativeDashboard ? layout.GetDashboardPath() : layout.GetManagedPath(),
Projects\PrebuiltAppHostServerTests.cs (4)
2865var dashboardPath = Assert.IsType<string>(layout.GetDashboardPath()); 2892File.WriteAllText(Assert.IsType<string>(layout.GetDashboardPath()), string.Empty); 2917var dashboardPath = Assert.IsType<string>(layout.GetDashboardPath()); 2977File.WriteAllText(Assert.IsType<string>(layout.GetDashboardPath()), string.Empty);