18 references to ProjectLocatorException
aspire (6)
Projects\ProjectLocator.cs (6)
223throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 238throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 243throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 255throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 276throw new ProjectLocatorException(ErrorStrings.NoProjectFileFound); 280throw new ProjectLocatorException(ErrorStrings.AppHostsMayNotBeBuildable);
Aspire.Cli.Tests (12)
Commands\ExecCommandTests.cs (5)
171throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 176throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 184throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found."); 201throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 206throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist.");
Commands\RunCommandTests.cs (5)
90throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 95throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 143throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 148throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 156throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.");
TestServices\NoProjectFileProjectLocator.cs (2)
12throw new ProjectLocatorException("No project file found."); 17throw new ProjectLocatorException("No project file found.");