27 references to GetManagedPath
aspire (6)
Layout\LayoutConfiguration.cs (2)
208var managedPath = layout.GetManagedPath(); 235var managedPath = layout.GetManagedPath();
Layout\LayoutDiscovery.cs (1)
365var managedPath = layout.GetManagedPath();
Projects\AppHostServerProject.cs (1)
126if (layout is not null && layout.GetManagedPath() is string serverPath && File.Exists(serverPath))
Projects\NativeAppHostServerProject.cs (1)
115var managed = LayoutLease?.Layout.GetManagedPath();
Projects\PrebuiltAppHostServer.cs (1)
130var 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)
529useNativeDashboard ? layout.GetDashboardPath() : layout.GetManagedPath(), 532supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.GetManagedPath(), 773File.Delete(layout.GetManagedPath()!); 917supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.GetManagedPath(), 2340supportsNativeDashboard ? layout.GetDashboardPath() : layout.GetManagedPath(), 2343supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.GetManagedPath(), 2402supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.GetManagedPath(),
Projects\PrebuiltAppHostServerTests.cs (7)
5281Assert.Equal(useNativeDashboard ? dashboardPath : layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 5282Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.TerminalHostPathEnvVar]); 5304Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 5325Assert.Equal(useNativeDashboard ? dashboardPath : layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 5368Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]); 5380[BundleDiscovery.DashboardPathEnvVar] = Assert.IsType<string>(layout.GetManagedPath()) 5385Assert.Equal(layout.GetManagedPath(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);