Merge pull request #6526 from mikkelbu/fail-gracefully-when-multiple-project-exist
Fail gracefully when multiple projects exist
This commit is contained in:
commit
444d75c0cd
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
}
|
||||
else if (projectFiles.Count() > 1)
|
||||
{
|
||||
throw new InvalidOperationException(string.Format(
|
||||
throw new GracefulException(string.Format(
|
||||
LocalizableStrings.MultipleProjectFilesFound,
|
||||
projectDirectory));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue