3 instantiations of ProjectLocatorException
aspire (3)
Projects\ProjectLocator.cs (3)
25throw new ProjectLocatorException($"Project file does not exist."); 38{ Length: 0 } => throw new ProjectLocatorException("No project file found."), 39{ Length: > 1 } => throw new ProjectLocatorException("Multiple project files found."),
9 references to ProjectLocatorException
aspire (9)
Commands\AddCommand.cs (3)
143catch (ProjectLocatorException ex) when (ex.Message == "Project file does not exist.") 148catch (ProjectLocatorException ex) when (ex.Message.Contains("Nultiple project files")) 153catch (ProjectLocatorException ex) when (ex.Message.Contains("No project file"))
Commands\PublishCommand.cs (3)
271catch (ProjectLocatorException ex) when (ex.Message == "Project file does not exist.") 276catch (ProjectLocatorException ex) when (ex.Message.Contains("Nultiple project files")) 281catch (ProjectLocatorException ex) when (ex.Message.Contains("No project file"))
Commands\RunCommand.cs (3)
219catch (ProjectLocatorException ex) when (ex.Message == "Project file does not exist.") 224catch (ProjectLocatorException ex) when (ex.Message.Contains("Multiple project files")) 229catch (ProjectLocatorException ex) when (ex.Message.Contains("No project file"))