24 references to ProjectLocatorException
aspire (7)
Projects\ProjectLocator.cs (7)
188throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 215throw new ProjectLocatorException(ErrorStrings.MultipleProjectFilesFound); 226throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 245throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 266throw new ProjectLocatorException(ErrorStrings.NoProjectFileFound); 270throw new ProjectLocatorException(ErrorStrings.AppHostsMayNotBeBuildable); 280MultipleAppHostProjectsFoundBehavior.Throw => throw new ProjectLocatorException(ErrorStrings.MultipleProjectFilesFound),
Aspire.Cli.Tests (17)
Commands\ExecCommandTests.cs (6)
172throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 177throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 185throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found."); 190throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found."); 198throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 203throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist.");
Commands\ExtensionInternalCommandTests.cs (2)
308throw new ProjectLocatorException("No AppHost project found."); 316throw new ProjectLocatorException("No AppHost project found.");
Commands\RunCommandTests.cs (6)
95throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 100throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 148throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 153throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 161throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found."); 166throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.");
Commands\UpdateCommandTests.cs (1)
177throw new ProjectLocatorException(ErrorStrings.NoProjectFileFound);
TestServices\NoProjectFileProjectLocator.cs (2)
12throw new ProjectLocatorException("No project file found."); 17throw new ProjectLocatorException("No project file found.");