24 references to ProjectLocatorException
aspire (7)
Projects\ProjectLocator.cs (7)
187throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 214throw new ProjectLocatorException(ErrorStrings.MultipleProjectFilesFound); 225throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 244throw new ProjectLocatorException(ErrorStrings.ProjectFileDoesntExist); 265throw new ProjectLocatorException(ErrorStrings.NoProjectFileFound); 269throw new ProjectLocatorException(ErrorStrings.AppHostsMayNotBeBuildable); 279MultipleAppHostProjectsFoundBehavior.Throw => throw new ProjectLocatorException(ErrorStrings.MultipleProjectFilesFound),
Aspire.Cli.Tests (17)
Commands\ExecCommandTests.cs (6)
173throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 178throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 186throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found."); 191throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found."); 199throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 204throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist.");
Commands\ExtensionInternalCommandTests.cs (2)
309throw new ProjectLocatorException("No AppHost project found."); 317throw new ProjectLocatorException("No AppHost project found.");
Commands\RunCommandTests.cs (6)
94throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 99throw new Aspire.Cli.Projects.ProjectLocatorException("Project file does not exist."); 147throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 152throw new Aspire.Cli.Projects.ProjectLocatorException("No project file found."); 160throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found."); 165throw new Aspire.Cli.Projects.ProjectLocatorException("Multiple project files found.");
Commands\UpdateCommandTests.cs (1)
178throw new ProjectLocatorException(ErrorStrings.NoProjectFileFound);
TestServices\NoProjectFileProjectLocator.cs (2)
12throw new ProjectLocatorException("No project file found."); 17throw new ProjectLocatorException("No project file found.");