Merge pull request #6526 from mikkelbu/fail-gracefully-when-multiple-project-exist

Fail gracefully when multiple projects exist
This commit is contained in:
Livar 2017-05-08 15:33:22 -07:00 committed by GitHub
commit 444d75c0cd

View file

@ -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));
}