Fix build break 814276: FEATURE_SPAN_OF_T disabled in runtime but enabled in DAC
authorJohn Chen <jochen@microsoft.com>
Wed, 2 Nov 2016 05:50:56 +0000 (22:50 -0700)
committerJohn Chen <jochen@microsoft.com>
Wed, 2 Nov 2016 05:50:56 +0000 (22:50 -0700)
[tfs-changeset: 1636322]

src/debug/daccess/daccess.targets

index a7d9e41554de056f05d018df5a9e4ab0c8c34549..43da554f47b950c043121a3d089915f1eab9d140 100644 (file)
@@ -4,6 +4,12 @@
   <!--from the original SOURCES/DIRS file by the KBC tool.-->
   <!--*****************************************************-->
   <!--Import the settings-->
+  <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\dac.props" />
   <Import Project="..\SetDebugTargetLocal.props" />