Fix System.Core reference in VS projects
[mono.git] / mcs / class / corlib / corlib-build.csproj
index d41ac684351dc38df3eec5c3051f31b059b8815b..768d0c782e5526c0780de3e5119ebba5bd43971f 100644 (file)
     <AssemblyName>mscorlib</AssemblyName>\r
     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
+    <!-- Filter out System.Core added by: Microsoft.NETFramework.props  -->\r
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
+    <PlatformTarget>AnyCPU</PlatformTarget>\r
     <DebugSymbols>true</DebugSymbols>\r
     <DebugType>full</DebugType>\r
     <NoWarn>612,618,1699</NoWarn>\r
@@ -28,6 +31,7 @@
     <AdditionalLibPaths>./../../class/lib/build</AdditionalLibPaths>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
+    <PlatformTarget>AnyCPU</PlatformTarget>  \r
     <DebugType>pdbonly</DebugType>\r
     <NoWarn>612,618,1699</NoWarn>\r
     <Optimize>true</Optimize>\r