26 references to GetManagedPath
aspire (5)
Layout\LayoutConfiguration.cs (2)
193
var managedPath = layout.
GetManagedPath
();
220
var managedPath = layout.
GetManagedPath
();
Layout\LayoutDiscovery.cs (1)
363
var managedPath = layout.
GetManagedPath
();
Projects\AppHostServerProject.cs (1)
67
if (layout is not null && layout.
GetManagedPath
() is string serverPath && File.Exists(serverPath))
Projects\PrebuiltAppHostServer.cs (1)
131
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)
489
useNativeDashboard ? layout.GetDashboardPath() : layout.
GetManagedPath
(),
492
supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.
GetManagedPath
(),
733
File.Delete(layout.
GetManagedPath
()!);
877
supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.
GetManagedPath
(),
2300
supportsNativeDashboard ? layout.GetDashboardPath() : layout.
GetManagedPath
(),
2303
supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.
GetManagedPath
(),
2362
supportsDirectLaunch ? layout.GetTerminalHostPath() : layout.
GetManagedPath
(),
Projects\PrebuiltAppHostServerTests.cs (7)
3072
Assert.Equal(useNativeDashboard ? dashboardPath : layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);
3073
Assert.Equal(layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.TerminalHostPathEnvVar]);
3095
Assert.Equal(layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);
3116
Assert.Equal(useNativeDashboard ? dashboardPath : layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);
3159
Assert.Equal(layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);
3171
[BundleDiscovery.DashboardPathEnvVar] = Assert.IsType<string>(layout.
GetManagedPath
())
3176
Assert.Equal(layout.
GetManagedPath
(), startInfo.Environment[BundleDiscovery.DashboardPathEnvVar]);