Fix the RuntimeGraphGenerator

1. It was using the wrong version of System.Runtime.Serialization.Json
2. When invoking it during the build, we weren't ensuring it was successful, which allows the build to continue when it fails.
This commit is contained in:
Eric Erhardt 2016-03-22 17:46:14 -05:00
parent 3186432ebd
commit fd0ebb1bab
2 changed files with 3 additions and 2 deletions

View file

@ -278,7 +278,8 @@ namespace Microsoft.DotNet.Cli.Build
var runtimeGraphGeneratorExe = Path.Combine(runtimeGraphGeneratorOutput, $"{runtimeGraphGeneratorName}{Constants.ExeSuffix}");
Cmd(runtimeGraphGeneratorExe, "--project", SharedFrameworkSourceRoot, "--deps", destinationDeps, runtimeGraphGeneratorRuntime)
.Execute();
.Execute()
.EnsureSuccessful();
}
else
{