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