65 writes to AppHostPath
Aspire.Cli.Tests (65)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
204AppHostPath = "/path/to/AppHost.csproj",
Backchannel\AppHostConnectionResolverTests.cs (1)
534AppHostPath = appHostPath,
Backchannel\OrphanedAppHostCollectorTests.cs (9)
29AppHostPath = "/tmp/AppHost.csproj", 48AppHostPath = "/tmp/AppHost.csproj", 68AppHostPath = "/tmp/AppHost.csproj", 88AppHostPath = "/tmp/AppHost.csproj", 108AppHostPath = "/tmp/AppHost.csproj", 129AppHostPath = "/tmp/AppHost.csproj", 157AppHostPath = "/tmp/AppHost.csproj", 185AppHostPath = "/tmp/AppHost.csproj", 381AppHostPath = "/tmp/AppHost.csproj",
Commands\AgentMcpCommandTests.cs (5)
140AppHostPath = Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"), 207AppHostPath = Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"), 281AppHostPath = Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"), 395AppHostPath = Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"), 476AppHostPath = Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\AppHostLauncherTests.cs (6)
1397AppHostPath = AppHostFile.FullName, 1768AppHostPath = "/tmp/AppHost.csproj", 1792AppHostPath = "/tmp/OtherAppHost.csproj", 1813AppHostPath = "/tmp/AppHost.csproj", 1830AppHostPath = "/tmp/AppHost.csproj", 1922AppHostPath = appHostPath,
Commands\DescribeCommandTests.cs (2)
945AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"), 969AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\ExportCommandTests.cs (3)
192AppHostPath = Path.Combine("C:", "other", "OtherAppHost", "OtherAppHost.csproj"), 215AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TargetAppHost", "TargetAppHost.csproj"), 882AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\LogsCommandTests.cs (5)
728AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"), 818AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"), 985AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"), 1548AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"), 1626AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\PsCommandTests.cs (14)
126AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"), 141AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App2", "App2.AppHost.csproj"), 232AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"), 272AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"), 316AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"), 360AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"), 439AppHostPath = appHostPath, 500AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"), 539AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"), 603AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"), 647AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"), 687AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"), 734AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"), 816AppHostPath = appHostPath,
Commands\ResourceCommandTests.cs (2)
211AppHostPath = appHostProjectFile.FullName, 1214AppHostPath = "/app/AppHost.csproj",
Commands\StopCommandTests.cs (1)
1326AppHostPath = appHostPath,
Commands\TelemetryTestHelper.cs (1)
78AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\TelemetryTracesCommandTests.cs (1)
87AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
106appHostInfo: new AppHostInformation { AppHostPath = appHostPath, ProcessId = processId, CliProcessId = null },
Mcp\ListAppHostsToolTests.cs (4)
50AppHostPath = appHostPath, 82AppHostPath = appHostPath, 114AppHostPath = inScopeAppHostPath, 125AppHostPath = outOfScopeAppHostPath,
Mcp\SelectAppHostToolTests.cs (1)
45AppHostPath = appHostFile.FullName,
Processes\ProcessTreeGracefulShutdownServiceTests.cs (6)
115AppHostPath = "apphost.cs", 133AppHostPath = "apphost.cs", 175AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "apphost.cs"), 220AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "apphost.cs"), 259AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "apphost.cs"), 297AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "apphost.cs"),
Projects\RunningInstanceManagerTests.cs (1)
140AppHostPath = "/path/to/AppHost.csproj",
TestServices\TerminalCommandTestServices.cs (1)
24AppHostPath = Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
41 references to AppHostPath
aspire (39)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
584AppHostPath = legacyInfo.AppHostPath,
Backchannel\AppHostConnectionHelper.cs (7)
53c.AppHostInfo?.AppHostPath != null && 55PathNormalizer.ResolveToFilesystemPath(c.AppHostInfo.AppHostPath), 75logger.LogDebug("Using single in-scope AppHost: {AppHostPath}", inScopeConnections[0].AppHostInfo?.AppHostPath ?? "N/A"); 82.Where(c => c.AppHostInfo?.AppHostPath != null) 83.Select(c => c.AppHostInfo!.AppHostPath) 95.OrderBy(c => c.AppHostInfo?.AppHostPath ?? string.Empty, StringComparer.OrdinalIgnoreCase) 101fallback?.AppHostInfo?.AppHostPath ?? "N/A");
Backchannel\AppHostConnectionResolver.cs (2)
291if (connection.AppHostInfo?.AppHostPath is not { Length: > 0 } appHostPath) 336var appHostPath = c.AppHostInfo?.AppHostPath ?? "Unknown";
Backchannel\AuxiliaryBackchannelMonitor.cs (5)
176c.AppHostInfo?.AppHostPath != null && 178PathNormalizer.ResolveToFilesystemPath(c.AppHostInfo.AppHostPath), 209.Where(c => IsAppHostInScopeOfDirectory(c.AppHostInfo?.AppHostPath, workingDirectory.FullName)) 564connection.IsInScope = IsAppHostInScope(connection.AppHostInfo?.AppHostPath); 588connection.AppHostInfo?.AppHostPath ?? "N/A",
Backchannel\IAuxiliaryBackchannelMonitor.cs (1)
30string? ResolvedAppHostPath => SelectedConnection?.AppHostInfo?.AppHostPath;
Backchannel\OrphanedAppHostCollector.cs (2)
67appHostInfo?.AppHostPath, 75appHostInfo?.AppHostPath,
Commands\AppHostLauncher.cs (1)
728PathNormalizer.ResolveToFilesystemPath(appHostInfo.AppHostPath),
Commands\PsCommand.cs (3)
340var appHostPath = info.AppHostPath; 366_logger.LogDebug(ex, "Failed to get AppHost SDK version for {AppHostPath}", info.AppHostPath); 378_logger.LogDebug(ex, "Failed to get dashboard URL for {AppHostPath}", info.AppHostPath);
Commands\ResourceCommand.cs (1)
714.Where(connection => IsMatchingAppHostPath(connection.AppHostInfo?.AppHostPath, targetPath))
Commands\StopCommand.cs (8)
314result is { Success: true, Connection.AppHostInfo.AppHostPath: { } connectionAppHostPath } && 514var appHostPath = connection.AppHostInfo?.AppHostPath ?? "Unknown"; 560if (string.IsNullOrEmpty(connection.AppHostInfo?.AppHostPath)) 565var appHostPath = connection.AppHostInfo.AppHostPath; 573return string.IsNullOrEmpty(connection.AppHostInfo?.AppHostPath) 575: connection.AppHostInfo.AppHostPath; 580return string.IsNullOrEmpty(connection.AppHostInfo?.AppHostPath) 582: new FileInfo(connection.AppHostInfo.AppHostPath);
Mcp\McpResourceToolRefreshService.cs (1)
88selectedAppHostPath = connection.AppHostInfo?.AppHostPath;
Mcp\Tools\ListAppHostsTool.cs (2)
50c.AppHostInfo?.AppHostPath ?? "Unknown", 58c.AppHostInfo?.AppHostPath ?? "Unknown",
Mcp\Tools\ListIntegrationsTool.cs (1)
157var appHostPath = inScopeConnections[0].AppHostInfo?.AppHostPath;
Mcp\Tools\SelectAppHostTool.cs (4)
70if (c.AppHostInfo?.AppHostPath is null) 75PathNormalizer.ResolveToFilesystemPath(c.AppHostInfo.AppHostPath), 84.Where(c => c.AppHostInfo?.AppHostPath != null) 85.Select(c => c.AppHostInfo!.AppHostPath)
Aspire.Cli.Tests (2)
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
142AppHostPath = AppHostInfo.AppHostPath,
TestServices\TestAuxiliaryBackchannelMonitor.cs (1)
70.Where(c => AuxiliaryBackchannelMonitor.IsAppHostInScopeOfDirectory(c.AppHostInfo?.AppHostPath, workingDirectory.FullName))