22 references to DashboardPathEnvVar
aspire (4)
Profiling\ProfileCaptureService.cs (1)
172if (configuration[BundleDiscovery.DashboardPathEnvVar] is { Length: > 0 } dashboardPath &&
Projects\DotNetAppHostProject.cs (2)
2572if (!IsUsableDashboardPath(GetEffectiveEnvironmentValue(env, BundleDiscovery.DashboardPathEnvVar)) && 2576env[BundleDiscovery.DashboardPathEnvVar] = layoutManagedPath;
Projects\PrebuiltAppHostServer.cs (1)
1502startInfo.Environment[BundleDiscovery.DashboardPathEnvVar] = managedPath;
Aspire.Cli.Tests (18)
ProfileCaptureServiceTests.cs (5)
51CreateConfiguration((BundleDiscovery.DashboardPathEnvVar, managedPath))); 145CreateConfiguration((BundleDiscovery.DashboardPathEnvVar, managedPath))); 176CreateConfiguration((BundleDiscovery.DashboardPathEnvVar, managedPath))); 202CreateConfiguration((BundleDiscovery.DashboardPathEnvVar, managedPath)), 480(BundleDiscovery.DashboardPathEnvVar, missingPath),
Projects\DotNetAppHostProjectTests.cs (13)
453env[BundleDiscovery.DashboardPathEnvVar]); 509Assert.Equal(customDashboardPath, env[BundleDiscovery.DashboardPathEnvVar]); 522[BundleDiscovery.DashboardPathEnvVar] = customDashboardPath, 542[BundleDiscovery.DashboardPathEnvVar] = inheritedDashboardPath, 567Assert.False(env.ContainsKey(BundleDiscovery.DashboardPathEnvVar)); 605[BundleDiscovery.DashboardPathEnvVar] = unusableDashboardPath, 631Assert.Equal(layout.GetManagedPath(), env[BundleDiscovery.DashboardPathEnvVar]); 673Assert.False(env.ContainsKey(BundleDiscovery.DashboardPathEnvVar)); 718Assert.False(env.ContainsKey(BundleDiscovery.DashboardPathEnvVar)); 775Assert.False(env.ContainsKey(BundleDiscovery.DashboardPathEnvVar)); 838Assert.False(env.ContainsKey(BundleDiscovery.DashboardPathEnvVar)); 2152env[BundleDiscovery.DashboardPathEnvVar]); 2287Assert.False(env.ContainsKey(BundleDiscovery.DashboardPathEnvVar));