Merge branch 'master' of github.com:mono/mono
[mono.git] / mcs / class / System.Core / System.Core.csproj
index 1c1bf66808d3ed2a7862a0816677e23c770e550c..c686772d01a8279a6c6abb399fb9af7968d69eb7 100644 (file)
@@ -1,14 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
-  <ItemGroup>
-    <ResponseFile Include="$(MSBuildProjectName).dll.sources"/>
-  </ItemGroup>
   <PropertyGroup>
     <OutputType>Library</OutputType>
     <AssemblyName>$(MSBuildProjectName)</AssemblyName>
     <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
-    <CompilerResponseFile>@(ResponseFile)</CompilerResponseFile>
     <NoConfig>true</NoConfig>
     <NoWarn>1720</NoWarn>
     <CodePage>65001</CodePage>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'basic|AnyCPU' ">
     <DefineConstants>BOOTSTRAP_BASIC,NET_1_1,NET_2_0,INSIDE_SYSCORE,LIBC,NET_3_5</DefineConstants>
   </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0|AnyCPU' ">
+    <DefineConstants>NET_1_1,NET_2_0,INSIDE_SYSCORE,LIBC,NET_3_5</DefineConstants>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="System.dll"/>
+    <Reference Include="Mono.Posix">
+      <HintPath>..\lib\net_2_0\Mono.Posix.dll</HintPath>
+    </Reference>
   </ItemGroup>
+  <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   <Target Name="BeforeBuild" DependsOnTargets="SetupProject">
   </Target>