20 references to GetManagedPath
aspire (6)
Layout\LayoutConfiguration.cs (1)
161var managedPath = layout.GetManagedPath();
Layout\LayoutDiscovery.cs (1)
346var managedPath = layout.GetManagedPath();
Projects\AppHostServerProject.cs (1)
67if (layout is not null && layout.GetManagedPath() is string serverPath && File.Exists(serverPath))
Projects\DotNetAppHostProject.cs (1)
2659var terminalHostPath = TryGetRepoLocalManagedPath() ?? layout?.GetManagedPath();
Projects\PrebuiltAppHostServer.cs (2)
138var managedPath = _layout.GetManagedPath(); 1555_layout.GetManagedPath() is { } terminalHostPath)
Aspire.Cli.Tests (14)
BundleServiceIntegrationTests.cs (2)
367var managedPath = layoutLease.Layout.GetManagedPath(); 586var managedPath = layoutLease.Layout.GetManagedPath();
Layout\LayoutConfigurationTests.cs (1)
50var managedPath = Assert.IsType<string>(layout.GetManagedPath());
Projects\DotNetAppHostProjectTests.cs (3)
478useNativeDashboard ? layout.GetDashboardPath() : layout.GetManagedPath(), 723File.Delete(layout.GetManagedPath()!); 2257supportsNativeDashboard ? layout.GetDashboardPath() : layout.GetManagedPath(),
Projects\PrebuiltAppHostServerTests.cs (8)
2882Assert.Equal(useNativeDashboard ? dashboardPath : layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 2883Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.TerminalHostPathEnvVar]); 2905Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 2926Assert.Equal(useNativeDashboard ? dashboardPath : layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 2949Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.TerminalHostPathEnvVar]); 2969Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 2981[BundleDiscovery.DashboardPathEnvVar] = Assert.IsType<string>(layout.GetManagedPath()) 2986Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);