27 references to GetManagedPath
aspire (6)
Layout\LayoutConfiguration.cs (2)
208
var managedPath = layout.
GetManagedPath
();
235
var managedPath = layout.
GetManagedPath
();
Layout\LayoutDiscovery.cs (1)
365
var managedPath = layout.
GetManagedPath
();
Projects\AppHostServerProject.cs (1)
126
if (layout is not null && layout.
GetManagedPath
() is string serverPath && File.Exists(serverPath))
Projects\NativeAppHostServerProject.cs (1)
115
var managed = LayoutLease?.Layout.
GetManagedPath
();
Projects\PrebuiltAppHostServer.cs (1)
130
var managedPath = _layout.
GetManagedPath
();
Aspire.Cli.Tests (21)
BundleServiceIntegrationTests.cs (2)
369
var managedPath = layoutLease.Layout.
GetManagedPath
();
594
var managedPath = layoutLease.Layout.
GetManagedPath
();
Layout\LayoutConfigurationTests.cs (5)
38
foreach (var path in new[] { layout.
GetManagedPath
()!, layout.GetTerminalHostPath()! })
46
Assert.Equal(supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.
GetManagedPath
(), launch.Value.Path);
55
Directory.CreateDirectory(Path.GetDirectoryName(layout.
GetManagedPath
()!)!);
56
File.WriteAllText(layout.
GetManagedPath
()!, "managed");
91
var managedPath = Assert.IsType<string>(layout.
GetManagedPath
());
Projects\DotNetAppHostProjectTests.cs (7)
529
useNativeDashboard ? layout.GetDashboardPath() : layout.
GetManagedPath
(),
532
supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.
GetManagedPath
(),
773
File.Delete(layout.
GetManagedPath
()!);
917
supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.
GetManagedPath
(),
2340
supportsNativeDashboard ? layout.GetDashboardPath() : layout.
GetManagedPath
(),
2343
supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.
GetManagedPath
(),
2402
supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.
GetManagedPath
(),
Projects\PrebuiltAppHostServerTests.cs (7)
5281
Assert.Equal(useNativeDashboard ? dashboardPath : layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);
5282
Assert.Equal(layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.TerminalHostPathEnvVar]);
5304
Assert.Equal(layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);
5325
Assert.Equal(useNativeDashboard ? dashboardPath : layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);
5368
Assert.Equal(layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);
5380
[BundleDiscovery.DashboardPathEnvVar] = Assert.IsType<string>(layout.
GetManagedPath
())
5385
Assert.Equal(layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);