24 references to ProjectLocatorException
aspire (7)
Projects\ProjectLocator.cs (7)
302throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 325throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 340throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 345throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 357throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 378throw new ProjectLocatorException(ErrorStrings.NoProjectFileFound); 382throw new ProjectLocatorException(ErrorStrings.AppHostsMayNotBeBuildable);
Aspire.Cli.Tests (17)
Commands\ExecCommandTests.cs (7)
171throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 176throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 181throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 189throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found."); 215throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 220throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 225throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist.");
Commands\RunCommandTests.cs (7)
95throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 100throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 105throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 153throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 158throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 163throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 171throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.");
TestServices\NoProjectFileProjectLocator.cs (3)
12throw new ProjectLocatorException("No project file found."); 17throw new ProjectLocatorException("No project file found."); 22throw new ProjectLocatorException("No project file found.");