65 writes to AppHostPath
Aspire.Cli.Tests (65)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (1)
204
AppHostPath
= "/path/to/AppHost.csproj",
Backchannel\AppHostConnectionResolverTests.cs (1)
534
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)
140
AppHostPath
= Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
207
AppHostPath
= Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
281
AppHostPath
= Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
395
AppHostPath
= Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
476
AppHostPath
= Path.Combine(ctx.Workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
Commands\AppHostLauncherTests.cs (6)
1397
AppHostPath
= AppHostFile.FullName,
1768
AppHostPath
= "/tmp/AppHost.csproj",
1792
AppHostPath
= "/tmp/OtherAppHost.csproj",
1813
AppHostPath
= "/tmp/AppHost.csproj",
1830
AppHostPath
= "/tmp/AppHost.csproj",
1922
AppHostPath
= appHostPath,
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"),
141
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App2", "App2.AppHost.csproj"),
232
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
272
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
316
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
360
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
439
AppHostPath
= appHostPath,
500
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
539
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
603
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
647
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
687
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
734
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "App1.AppHost.csproj"),
816
AppHostPath
= appHostPath,
Commands\ResourceCommandTests.cs (2)
211
AppHostPath
= appHostProjectFile.FullName,
1214
AppHostPath
= "/app/AppHost.csproj",
Commands\StopCommandTests.cs (1)
1326
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"),
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
106
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,
Mcp\SelectAppHostToolTests.cs (1)
45
AppHostPath
= appHostFile.FullName,
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",
TestServices\TerminalCommandTestServices.cs (1)
24
AppHostPath
= Path.Combine(workspace.WorkspaceRoot.FullName, "TestAppHost", "TestAppHost.csproj"),
41 references to AppHostPath
aspire (39)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
584
AppHostPath = legacyInfo.
AppHostPath
,
Backchannel\AppHostConnectionHelper.cs (7)
53
c.AppHostInfo?.
AppHostPath
!= null &&
55
PathNormalizer.ResolveToFilesystemPath(c.AppHostInfo.
AppHostPath
),
75
logger.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)
101
fallback?.AppHostInfo?.
AppHostPath
?? "N/A");
Backchannel\AppHostConnectionResolver.cs (2)
291
if (connection.AppHostInfo?.
AppHostPath
is not { Length: > 0 } appHostPath)
336
var appHostPath = c.AppHostInfo?.
AppHostPath
?? "Unknown";
Backchannel\AuxiliaryBackchannelMonitor.cs (5)
176
c.AppHostInfo?.
AppHostPath
!= null &&
178
PathNormalizer.ResolveToFilesystemPath(c.AppHostInfo.
AppHostPath
),
209
.Where(c => IsAppHostInScopeOfDirectory(c.AppHostInfo?.
AppHostPath
, workingDirectory.FullName))
564
connection.IsInScope = IsAppHostInScope(connection.AppHostInfo?.
AppHostPath
);
588
connection.AppHostInfo?.
AppHostPath
?? "N/A",
Backchannel\IAuxiliaryBackchannelMonitor.cs (1)
30
string? ResolvedAppHostPath => SelectedConnection?.AppHostInfo?.
AppHostPath
;
Backchannel\OrphanedAppHostCollector.cs (2)
67
appHostInfo?.
AppHostPath
,
75
appHostInfo?.
AppHostPath
,
Commands\AppHostLauncher.cs (1)
728
PathNormalizer.ResolveToFilesystemPath(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)
714
.Where(connection => IsMatchingAppHostPath(connection.AppHostInfo?.
AppHostPath
, targetPath))
Commands\StopCommand.cs (8)
314
result is { Success: true, Connection.AppHostInfo.
AppHostPath
: { } connectionAppHostPath } &&
514
var appHostPath = connection.AppHostInfo?.
AppHostPath
?? "Unknown";
560
if (string.IsNullOrEmpty(connection.AppHostInfo?.
AppHostPath
))
565
var appHostPath = connection.AppHostInfo.
AppHostPath
;
573
return string.IsNullOrEmpty(connection.AppHostInfo?.
AppHostPath
)
575
: connection.AppHostInfo.
AppHostPath
;
580
return string.IsNullOrEmpty(connection.AppHostInfo?.
AppHostPath
)
582
: 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)
70
if (c.AppHostInfo?.
AppHostPath
is null)
75
PathNormalizer.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)
142
AppHostPath = AppHostInfo.
AppHostPath
,
TestServices\TestAuxiliaryBackchannelMonitor.cs (1)
70
.Where(c => AuxiliaryBackchannelMonitor.IsAppHostInScopeOfDirectory(c.AppHostInfo?.
AppHostPath
, workingDirectory.FullName))