Fixing issue with perf targets restoring test runtime (#4686)
authorDeepak Shankargouda <deshank@microsoft.com>
Tue, 3 May 2016 16:17:27 +0000 (09:17 -0700)
committerDeepak Shankargouda <deshank@microsoft.com>
Tue, 3 May 2016 16:17:27 +0000 (09:17 -0700)
tests/helixperftasks.targets
tests/runtest.proj

index 16fe7dd..c28cc13 100644 (file)
       <TestRuntimeProjectLockJson>$(SourceDir)Common\test_runtime\project.lock.json</TestRuntimeProjectLockJson>
     </PropertyGroup>
 
+    <ItemGroup>
+     <DnuSourceList Include="$(CORE_ROOT)\.nuget\pkg" />
+    </ItemGroup>
+
     <!-- Restore the runtime dependencies -->
     <Exec Command="$(DnuRestoreCommand) &quot;$(TestRuntimeDependenciesJson)&quot;"
            StandardOutputImportance="Low"
index 9d8db2d..7bace14 100644 (file)
@@ -372,8 +372,11 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").
   },
   "frameworks": {
     "dnxcore50": {}
+  },
+  "runtimes": {
+    "$(TestNugetRuntimeId)":{}
   }
-}        
+}
 
         ]]>
       </TestRuntimeJsonContents>