Fixing test script issues and addressing RID detection change

This commit is contained in:
piotrp 2016-01-09 18:04:13 -08:00
parent 5cd64066c4
commit 096b7d21dc
2 changed files with 2 additions and 3 deletions

View file

@ -356,7 +356,7 @@ namespace Microsoft.DotNet.Tools.Compiler
{
var projectContext =
ProjectContext.Create(context.ProjectDirectory, context.TargetFramework,
new[] {RuntimeIdentifier.Current});
new[] { PlatformServices.Default.Runtime.GetLegacyRestoreRuntimeIdentifier()});
projectContext
.CreateExporter(args.ConfigValue)