26 references to GetManagedPath
aspire (5)
Layout\LayoutConfiguration.cs (2)
193var managedPath = layout.GetManagedPath(); 220var managedPath = layout.GetManagedPath();
Layout\LayoutDiscovery.cs (1)
363var managedPath = layout.GetManagedPath();
Projects\AppHostServerProject.cs (1)
67if (layout is not null && layout.GetManagedPath() is string serverPath && File.Exists(serverPath))
Projects\PrebuiltAppHostServer.cs (1)
131var managedPath = _layout.GetManagedPath();
Aspire.Cli.Tests (21)
BundleServiceIntegrationTests.cs (2)
369var managedPath = layoutLease.Layout.GetManagedPath(); 594var managedPath = layoutLease.Layout.GetManagedPath();
Layout\LayoutConfigurationTests.cs (5)
38foreach (var path in new[] { layout.GetManagedPath()!, layout.GetTerminalHostPath()! }) 46Assert.Equal(supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.GetManagedPath(), launch.Value.Path); 55Directory.CreateDirectory(Path.GetDirectoryName(layout.GetManagedPath()!)!); 56File.WriteAllText(layout.GetManagedPath()!, "managed"); 91var managedPath = Assert.IsType<string>(layout.GetManagedPath());
Projects\DotNetAppHostProjectTests.cs (7)
489useNativeDashboard ? layout.GetDashboardPath() : layout.GetManagedPath(), 492supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.GetManagedPath(), 733File.Delete(layout.GetManagedPath()!); 877supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.GetManagedPath(), 2300supportsNativeDashboard ? layout.GetDashboardPath() : layout.GetManagedPath(), 2303supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.GetManagedPath(), 2362supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.GetManagedPath(),
Projects\PrebuiltAppHostServerTests.cs (7)
3072Assert.Equal(useNativeDashboard ? dashboardPath : layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 3073Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.TerminalHostPathEnvVar]); 3095Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 3116Assert.Equal(useNativeDashboard ? dashboardPath : layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 3159Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 3171[BundleDiscovery.DashboardPathEnvVar] = Assert.IsType<string>(layout.GetManagedPath()) 3176Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);