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