fix errors, enable tests

This commit is contained in:
Bryan Thornbury 2016-09-22 14:30:56 -07:00
parent 3e6e1ddcd0
commit 95e0ed3713
4 changed files with 11 additions and 1 deletions

View file

@ -72,7 +72,9 @@ namespace Microsoft.DotNet.ProjectJsonMigration
if (allXprojFiles.Count() > 1)
{
throw new Exception("Multiple xproj files found in {projectDirectory}, please specify which to use");
MigrationErrorCodes
.MIGRATE1017($"Multiple xproj files found in {projectDirectory}, please specify which to use")
.Throw();
}
return allXprojFiles.FirstOrDefault();