1 write to _interactionService
aspire (1)
Commands\AddCommand.cs (1)
35_interactionService = interactionService;
13 references to _interactionService
aspire (13)
Commands\AddCommand.cs (13)
71var effectiveAppHostProjectFile = await _interactionService.ShowStatusAsync("Locating app host project...", async () => 86var packages = await _interactionService.ShowStatusAsync( 97_interactionService.DisplayError("No packages found."); 125var addPackageResult = await _interactionService.ShowStatusAsync( 147_interactionService.DisplayLines(outputCollector.GetLines()); 148_interactionService.DisplayError($"The package installation failed with exit code {addPackageResult}. For more information run with --debug switch."); 153_interactionService.DisplaySuccess($"The package {selectedNuGetPackage.Package.Id}::{selectedNuGetPackage.Package.Version} was added successfully."); 159_interactionService.DisplayError("The --project option specified a project that does not exist."); 164_interactionService.DisplayError("The --project option was not specified and multiple app host project files were detected."); 169_interactionService.DisplayError("The project argument was not specified and no *.csproj files were detected."); 174_interactionService.DisplayCancellationMessage(); 179_interactionService.DisplayLines(outputCollector.GetLines()); 180_interactionService.DisplayError($"An error occurred while adding the package: {ex.Message}");