Fix GitHub build break caused by change dotnet/coreclr#1636179
authorJohn Chen <jochen@microsoft.com>
Tue, 1 Nov 2016 23:20:08 +0000 (16:20 -0700)
committerJohn Chen <jochen@microsoft.com>
Tue, 1 Nov 2016 23:20:08 +0000 (16:20 -0700)
[tfs-changeset: 1636227]

Commit migrated from https://github.com/dotnet/coreclr/commit/da879d9237dc34a5ba9728358b7f78fc1981fc68

src/coreclr/clr.coreclr.props
src/coreclr/src/dlls/mscoree/coreclr/coreclr.nativeproj
src/coreclr/src/vm/crossgen_mscorlib/mscorlib_crossgen.nativeproj
src/coreclr/src/vm/vm.settings

index a1324ce..26e2118 100644 (file)
     <FeatureMergeJitAndEngine>true</FeatureMergeJitAndEngine>
     <FeatureMulticoreJIT>true</FeatureMulticoreJIT>
     <FeaturePrejit>true</FeaturePrejit>
-
-    <!-- Work around problems with loading System.Private.CoreLib.dll, -->
-    <!-- caused by inconsistent setting of UseLegacyCompiler and FeatureSpanOfT -->
-    <!-- between System.Private.CoreLib.dll and the runtime. -->
-    <UseLegacyCompiler>true</UseLegacyCompiler>
-
     <FeatureSpanOfT Condition="'$(UseLegacyCompiler)'!='true'">true</FeatureSpanOfT>
     <FeatureStandaloneSn>true</FeatureStandaloneSn>
     <FeatureStrongnameDelaySigningAllowed>true</FeatureStrongnameDelaySigningAllowed>
index d9350bc..484790e 100644 (file)
@@ -1,5 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="dogfood">
+  <PropertyGroup>
+    <!-- Work around problems with loading System.Private.CoreLib.dll, -->
+    <!-- caused by inconsistent setting of UseLegacyCompiler and FeatureSpanOfT -->
+    <!-- between System.Private.CoreLib.dll and the runtime. -->
+    <UseLegacyCompiler>true</UseLegacyCompiler>
+  </PropertyGroup>
   <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.props" />
   <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\src\dlls\mscoree\mscoree.settings.targets" />
   <PropertyGroup Label="Globals">
index be65670..67e6f4a 100644 (file)
@@ -1,5 +1,12 @@
 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="dogfood">
 
+    <PropertyGroup>
+      <!-- Work around problems with loading System.Private.CoreLib.dll, -->
+      <!-- caused by inconsistent setting of UseLegacyCompiler and FeatureSpanOfT -->
+      <!-- between System.Private.CoreLib.dll and the runtime. -->
+      <UseLegacyCompiler>true</UseLegacyCompiler>
+    </PropertyGroup>
+
     <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\xplat\SetCrossGen.props" />
 
     <PropertyGroup>
index b4799d1..83d7d9f 100644 (file)
@@ -1,5 +1,12 @@
 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 
+  <PropertyGroup>
+    <!-- Work around problems with loading System.Private.CoreLib.dll, -->
+    <!-- caused by inconsistent setting of UseLegacyCompiler and FeatureSpanOfT -->
+    <!-- between System.Private.CoreLib.dll and the runtime. -->
+    <UseLegacyCompiler>true</UseLegacyCompiler>
+  </PropertyGroup>
+
   <!--Import the settings-->
   <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.props" />
   <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\src\debug\SetDebugTargetLocal.props" />