44 references to WorkspaceRoot
Aspire.Cli.Tests (44)
Commands\ConfigCommandTests.cs (5)
42
var settingsPath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json");
65
var settingsPath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json");
90
var settingsPath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json");
124
var settingsPath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json");
244
var settingsPath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json");
DotNet\DotNetCliRunnerTests.cs (6)
20
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
63
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
95
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
137
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
178
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
222
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
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)
28
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
33
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
49
var targetAppHostDirectory = workspace.
WorkspaceRoot
.CreateSubdirectory("TargetAppHost");
53
var otherAppHostDirectory = workspace.
WorkspaceRoot
.CreateSubdirectory("OtherAppHost");
70
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
84
var dir1 = workspace.
WorkspaceRoot
.CreateSubdirectory("dir1");
91
var otherAppHostDirectory = workspace.
WorkspaceRoot
.CreateSubdirectory("OtherAppHost");
108
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
123
var realAppHostProjectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "RealAppHost.csproj"));
151
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
166
var projectFile1 = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost1.csproj"));
169
var projectFile2 = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost2.csproj"));
175
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
188
var appHostProject = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
191
var webProject = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "WebProject.csproj"));
209
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
224
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
238
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
244
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
256
var projectFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, "AppHost.csproj"));
263
var projectLocator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
289
var globalSettingsFilePath = Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.global.json");
293
var configurationService = new ConfigurationService(config, workspace.
WorkspaceRoot
, globalSettingsFile);
295
var locator = new ProjectLocator(logger, runner, workspace.
WorkspaceRoot
, interactionService, configurationService, new AspireCliTelemetry());
299
var settingsFile = new FileInfo(Path.Combine(workspace.
WorkspaceRoot
.FullName, ".aspire", "settings.json"));
Utils\CliTestHelper.cs (1)
29
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
);