fix errors, enable tests
This commit is contained in:
parent
3e6e1ddcd0
commit
95e0ed3713
4 changed files with 11 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue