9 references to ProjectLocatorException
aspire (2)
Projects\ProjectLocator.cs (2)
131
throw new
ProjectLocatorException
(ErrorStrings.ProjectFileDoesntExist);
155
throw new
ProjectLocatorException
(ErrorStrings.NoProjectFileFound);
Aspire.Cli.Tests (7)
Commands\ExecCommandTests.cs (3)
171
throw new Aspire.Cli.Projects.
ProjectLocatorException
("No project file found.");
179
throw new Aspire.Cli.Projects.
ProjectLocatorException
("Multiple project files found.");
187
throw new Aspire.Cli.Projects.
ProjectLocatorException
("Project file does not exist.");
Commands\RunCommandTests.cs (3)
89
throw new Aspire.Cli.Projects.
ProjectLocatorException
("Project file does not exist.");
136
throw new Aspire.Cli.Projects.
ProjectLocatorException
("No project file found.");
144
throw new Aspire.Cli.Projects.
ProjectLocatorException
("Multiple project files found.");
TestServices\NoProjectFileProjectLocator.cs (1)
12
throw new
ProjectLocatorException
("No project file found.");