14 writes to AppHostPath
Aspire.Cli.Tests (14)
Commands\AgentMcpCommandTests.cs (5)
161
AppHostPath
= Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
231
AppHostPath
= Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
308
AppHostPath
= Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
424
AppHostPath
= Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
510
AppHostPath
= Path.Combine(_workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\DescribeCommandTests.cs (1)
346
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\LogsCommandTests.cs (1)
583
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\PsCommandTests.cs (2)
110
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
126
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App2", "App2.AppHost.csproj"),
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
75
appHostInfo: new AppHostInformation {
AppHostPath
= appHostPath, ProcessId = processId, CliProcessId = null },
Mcp\ListAppHostsToolTests.cs (4)
50
AppHostPath
= appHostPath,
82
AppHostPath
= appHostPath,
114
AppHostPath
= inScopeAppHostPath,
125
AppHostPath
= outOfScopeAppHostPath,
30 references to AppHostPath
aspire (27)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
419
AppHostPath = legacyInfo.
AppHostPath
,
Backchannel\AppHostConnectionHelper.cs (7)
48
c.AppHostInfo?.
AppHostPath
!= null &&
49
string.Equals(c.AppHostInfo.
AppHostPath
, selectedPath, StringComparison.OrdinalIgnoreCase));
67
logger.LogDebug("Using single in-scope AppHost: {AppHostPath}", inScopeConnections[0].AppHostInfo?.
AppHostPath
?? "N/A");
74
.Where(c => c.AppHostInfo?.
AppHostPath
!= null)
75
.Select(c => c.AppHostInfo!.
AppHostPath
)
87
.OrderBy(c => c.AppHostInfo?.
AppHostPath
?? string.Empty, StringComparer.OrdinalIgnoreCase)
93
fallback?.AppHostInfo?.
AppHostPath
?? "N/A");
Backchannel\AppHostConnectionResolver.cs (1)
185
var appHostPath = c.AppHostInfo?.
AppHostPath
?? "Unknown";
Backchannel\AuxiliaryBackchannelMonitor.cs (5)
74
c.AppHostInfo?.
AppHostPath
!= null &&
75
string.Equals(Path.GetFullPath(c.AppHostInfo.
AppHostPath
), Path.GetFullPath(SelectedAppHostPath), StringComparison.OrdinalIgnoreCase));
105
.Where(c => IsAppHostInScopeOfDirectory(c.AppHostInfo?.
AppHostPath
, workingDirectory.FullName))
412
connection.IsInScope = IsAppHostInScope(connection.AppHostInfo?.
AppHostPath
);
448
connection.AppHostInfo?.
AppHostPath
?? "N/A",
Backchannel\IAuxiliaryBackchannelMonitor.cs (1)
37
string? ResolvedAppHostPath => SelectedConnection?.AppHostInfo?.
AppHostPath
;
Commands\PsCommand.cs (2)
148
_logger.LogDebug(ex, "Failed to get dashboard URL for {AppHostPath}", info.
AppHostPath
);
152
info.
AppHostPath
?? PsCommandStrings.UnknownPath,
Commands\StopCommand.cs (2)
192
var appHostPath = connection.AppHostInfo?.
AppHostPath
?? "Unknown";
211
var appHostPath = connection.AppHostInfo?.
AppHostPath
?? "Unknown";
Mcp\McpResourceToolRefreshService.cs (1)
87
selectedAppHostPath = connection.AppHostInfo?.
AppHostPath
;
Mcp\Tools\ListAppHostsTool.cs (2)
50
c.AppHostInfo?.
AppHostPath
?? "Unknown",
58
c.AppHostInfo?.
AppHostPath
?? "Unknown",
Mcp\Tools\ListIntegrationsTool.cs (1)
157
var appHostPath = inScopeConnections[0].AppHostInfo?.
AppHostPath
;
Mcp\Tools\SelectAppHostTool.cs (4)
73
if (c.AppHostInfo?.
AppHostPath
is null)
77
var candidatePath = Path.GetFullPath(c.AppHostInfo.
AppHostPath
);
85
.Where(c => c.AppHostInfo?.
AppHostPath
!= null)
86
.Select(c => c.AppHostInfo!.
AppHostPath
)
Aspire.Cli.Tests (3)
TestServices\TestAuxiliaryBackchannelMonitor.cs (3)
51
c.AppHostInfo?.
AppHostPath
!= null &&
52
string.Equals(Path.GetFullPath(c.AppHostInfo.
AppHostPath
), Path.GetFullPath(SelectedAppHostPath), StringComparison.OrdinalIgnoreCase));
79
.Where(c => IsAppHostInScopeOfDirectory(c.AppHostInfo?.
AppHostPath
, workingDirectory.FullName))