46 references to WorkspaceRoot
Aspire.Cli.Tests (46)
Commands\ConfigCommandTests.cs (5)
41
var settingsPath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json");
64
var settingsPath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json");
89
var settingsPath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json");
123
var settingsPath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json");
243
var settingsPath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json");
DotNet\DotNetCliRunnerTests.cs (8)
23
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
69
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
104
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
149
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
193
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
240
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
330
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
368
workingDirectory: workspace.
WorkspaceRoot
,
NuGet\NuGetPackageCacheTests.cs (1)
39
var packages = await nuGetPackageCache.GetCliPackagesAsync(workspace.
WorkspaceRoot
, prerelease: true, source: null, CancellationToken.None).WaitAsync(CliTestConstants.DefaultTimeout);
Projects\ProjectLocatorTests.cs (25)
26
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
31
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
47
var targetAppHostDirectory = workspace.
WorkspaceRoot
.CreateSubdirectory("TargetAppHost");
51
var otherAppHostDirectory = workspace.
WorkspaceRoot
.CreateSubdirectory("OtherAppHost");
68
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
82
var dir1 = workspace.
WorkspaceRoot
.CreateSubdirectory("dir1");
89
var otherAppHostDirectory = workspace.
WorkspaceRoot
.CreateSubdirectory("OtherAppHost");
106
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
121
var realAppHostProjectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "RealAppHost.csproj"));
149
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
163
var projectFile1 = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost1.csproj"));
166
var projectFile2 = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost2.csproj"));
172
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
185
var appHostProject = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
188
var webProject = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "WebProject.csproj"));
206
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
221
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
235
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
241
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
253
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
260
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
286
var globalSettingsFilePath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.global.json");
290
var configurationService = new ConfigurationService(config, workspace.
WorkspaceRoot
, globalSettingsFile);
292
var locator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
296
var settingsFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json"));
Utils\CliTestHelper.cs (1)
30
var options = new CliServiceCollectionTestOptions(outputHelper, workspace.
WorkspaceRoot
);
Utils\CliUpdateNotificationServiceTests.cs (6)
68
await notifier.NotifyIfUpdateAvailableAsync(workspace.
WorkspaceRoot
).WaitAsync(CliTestConstants.DefaultTimeout);
122
await notifier.NotifyIfUpdateAvailableAsync(workspace.
WorkspaceRoot
).WaitAsync(CliTestConstants.DefaultTimeout);
176
await notifier.NotifyIfUpdateAvailableAsync(workspace.
WorkspaceRoot
).WaitAsync(CliTestConstants.DefaultTimeout);
226
await notifier.NotifyIfUpdateAvailableAsync(workspace.
WorkspaceRoot
).WaitAsync(CliTestConstants.DefaultTimeout);
250
await service.NotifyIfUpdateAvailableAsync(workspace.
WorkspaceRoot
);
268
await service.NotifyIfUpdateAvailableAsync(workspace.
WorkspaceRoot
);