59 writes to AppHostPath
Aspire.Cli.Tests (59)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
163
AppHostPath
= "/path/to/AppHost.csproj",
Backchannel\AppHostConnectionResolverTests.cs (1)
491
AppHostPath
= appHostPath,
Backchannel\OrphanedAppHostCollectorTests.cs (9)
29
AppHostPath
= "/tmp/AppHost.csproj",
48
AppHostPath
= "/tmp/AppHost.csproj",
68
AppHostPath
= "/tmp/AppHost.csproj",
88
AppHostPath
= "/tmp/AppHost.csproj",
108
AppHostPath
= "/tmp/AppHost.csproj",
129
AppHostPath
= "/tmp/AppHost.csproj",
157
AppHostPath
= "/tmp/AppHost.csproj",
185
AppHostPath
= "/tmp/AppHost.csproj",
381
AppHostPath
= "/tmp/AppHost.csproj",
Commands\AgentMcpCommandTests.cs (5)
141
AppHostPath
= Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
209
AppHostPath
= Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
284
AppHostPath
= Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
399
AppHostPath
= Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
481
AppHostPath
= Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\AppHostLauncherTests.cs (1)
1232
AppHostPath
= AppHostFile.FullName,
Commands\DescribeCommandTests.cs (2)
945
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
969
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\ExportCommandTests.cs (3)
192
AppHostPath
= Path.Combine("C:", "other", "OtherAppHost", "OtherAppHost.csproj"),
215
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TargetAppHost", "TargetAppHost.csproj"),
882
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\LogsCommandTests.cs (5)
728
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
818
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
985
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
1548
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
1626
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\PsCommandTests.cs (14)
126
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
142
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App2", "App2.AppHost.csproj"),
233
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
273
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
317
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
361
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
440
AppHostPath
= appHostPath,
501
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
540
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
604
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
648
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
688
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
735
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
817
AppHostPath
= appHostPath,
Commands\ResourceCommandTests.cs (2)
211
AppHostPath
= appHostProjectFile.FullName,
1216
AppHostPath
= "/app/AppHost.csproj",
Commands\StopCommandTests.cs (1)
1290
AppHostPath
= appHostPath,
Commands\TelemetryTestHelper.cs (1)
78
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\TelemetryTracesCommandTests.cs (1)
87
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\TerminalCommandTests.cs (1)
626
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
74
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,
Processes\ProcessTreeGracefulShutdownServiceTests.cs (6)
115
AppHostPath
= "apphost.cs",
133
AppHostPath
= "apphost.cs",
175
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "apphost.cs"),
220
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "apphost.cs"),
259
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "apphost.cs"),
297
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "apphost.cs"),
Projects\RunningInstanceManagerTests.cs (1)
140
AppHostPath
= "/path/to/AppHost.csproj",
41 references to AppHostPath
aspire (37)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
539
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 (2)
290
if (connection.AppHostInfo?.
AppHostPath
is not { Length: > 0 } appHostPath)
335
var appHostPath = c.AppHostInfo?.
AppHostPath
?? "Unknown";
Backchannel\AuxiliaryBackchannelMonitor.cs (5)
158
c.AppHostInfo?.
AppHostPath
!= null &&
159
string.Equals(Path.GetFullPath(c.AppHostInfo.
AppHostPath
), Path.GetFullPath(SelectedAppHostPath), StringComparison.OrdinalIgnoreCase));
189
.Where(c => IsAppHostInScopeOfDirectory(c.AppHostInfo?.
AppHostPath
, workingDirectory.FullName))
508
connection.IsInScope = IsAppHostInScope(connection.AppHostInfo?.
AppHostPath
);
544
connection.AppHostInfo?.
AppHostPath
?? "N/A",
Backchannel\IAuxiliaryBackchannelMonitor.cs (1)
37
string? ResolvedAppHostPath => SelectedConnection?.AppHostInfo?.
AppHostPath
;
Backchannel\OrphanedAppHostCollector.cs (2)
68
appHostInfo?.
AppHostPath
,
76
appHostInfo?.
AppHostPath
,
Commands\PsCommand.cs (3)
340
var 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)
713
.Where(connection => IsMatchingAppHostPath(connection.AppHostInfo?.
AppHostPath
, targetPath))
Commands\StopCommand.cs (7)
494
var appHostPath = connection.AppHostInfo?.
AppHostPath
?? "Unknown";
540
if (string.IsNullOrEmpty(connection.AppHostInfo?.
AppHostPath
))
545
var appHostPath = connection.AppHostInfo.
AppHostPath
;
553
return string.IsNullOrEmpty(connection.AppHostInfo?.
AppHostPath
)
555
: connection.AppHostInfo.
AppHostPath
;
560
return string.IsNullOrEmpty(connection.AppHostInfo?.
AppHostPath
)
562
: new FileInfo(connection.AppHostInfo.
AppHostPath
);
Mcp\McpResourceToolRefreshService.cs (1)
88
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 (4)
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
131
AppHostPath = AppHostInfo.
AppHostPath
,
TestServices\TestAuxiliaryBackchannelMonitor.cs (3)
73
c.AppHostInfo?.
AppHostPath
!= null &&
74
string.Equals(Path.GetFullPath(c.AppHostInfo.
AppHostPath
), Path.GetFullPath(SelectedAppHostPath), StringComparison.OrdinalIgnoreCase));
101
.Where(c => IsAppHostInScopeOfDirectory(c.AppHostInfo?.
AppHostPath
, workingDirectory.FullName))