Merge pull request #557 from jack-pappas/gacutil-patch
[mono.git] / mcs / class / WebMatrix.Data / WebMatrix.Data-net_4_0.csproj
index c2b3f46b9e3527a5f70ff7ab838c11e67bac93a1..516b21cb39763c9dcbe62312ed38d34032739ac3 100644 (file)
@@ -5,14 +5,16 @@
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
     <ProductVersion>9.0.30729</ProductVersion>\r
     <SchemaVersion>2.0</SchemaVersion>\r
-    <ProjectGuid>{155AEF28-C81F-405D-9072-9D52780E3E70}</ProjectGuid>\r
+    <ProjectGuid>{320524F1-AA91-4BC3-B88C-8E0AECEE1CCC}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699</NoWarn>\r
-    <OutputPath>./../../class/lib/net_4_0</OutputPath>\r
-    <NoStdLib>true</NoStdLib>\r
+    <OutputPath>bin\Debug\WebMatrix.Data-net_4_0</OutputPath>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>True</NoConfig>\r
     \r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace></RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>WebMatrix.Data</AssemblyName>\r
     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
@@ -25,7 +27,6 @@
     <DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_4_0</AdditionalLibPaths>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
     <DebugType>pdbonly</DebugType>\r
     <DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_4_0</AdditionalLibPaths>\r
+  </PropertyGroup>\r
+  <!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0, \r
+  Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This\r
+  is a problem to compile the Mono mscorlib.dll -->\r
+  <PropertyGroup>\r
+    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>\r
   </PropertyGroup>\r
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
   <ItemGroup>\r
-   <Compile Include="..\..\build\common\Consts.cs" />
-   <Compile Include="..\..\build\common\Locale.cs" />
-   <Compile Include="Assembly\AssemblyInfo.cs" />
-   <Compile Include="WebMatrix.Data\ConnectionEventArgs.cs" />
-   <Compile Include="WebMatrix.Data\DynamicRecord.cs" />
-   <Compile Include="WebMatrix.Data\Database.cs" />
-\r
-  </ItemGroup>\r
+    <Compile Include="..\..\build\common\Consts.cs" />\r
+    <Compile Include="..\..\build\common\Locale.cs" />\r
+    <Compile Include="Assembly\AssemblyInfo.cs" />\r
+    <Compile Include="WebMatrix.Data\ConnectionEventArgs.cs" />\r
+    <Compile Include="WebMatrix.Data\Database.cs" />\r
+    <Compile Include="WebMatrix.Data\DynamicRecord.cs" />\r  </ItemGroup>\r
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
        Other similar extension points exist, see Microsoft.Common.targets.\r
   <Target Name="BeforeBuild">\r
   </Target>\r
   -->\r
   <PropertyGroup>\r
-    <PreBuildEvent></PreBuildEvent>\r
+    <PreBuildEvent>\r
+\r
+    </PreBuildEvent>\r
+    <PostBuildEvent>\r
+      xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_0\ /Y /R /D\r
+  </PostBuildEvent>\r
   </PropertyGroup>\r
   <ItemGroup>\r
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>mscorlib.dll</HintPath>
-    </Reference>
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>mscorlib.dll</HintPath>
-    </Reference>
-    <Reference Include="System.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Data.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Data.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Core.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Core.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Configuration.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Configuration.dll</HintPath>
-    </Reference>
-\r
+    <ProjectReference Include="..\corlib\corlib-net_4_0.csproj">\r
+      <Project>{7B7210E5-3B98-492F-B57E-BD53A99C39B0}</Project>\r
+      <Name>corlib\corlib-net_4_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System\System-net_4_0-2.csproj">\r
+      <Project>{1A075F2A-40CF-48B5-B817-8B03444DB7C6}</Project>\r
+      <Name>System\System-net_4_0-2</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Data\System.Data-net_4_0.csproj">\r
+      <Project>{6865A6A5-DF93-45C7-BE83-F06907EC81F8}</Project>\r
+      <Name>System.Data\System.Data-net_4_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Core\System.Core-net_4_0.csproj">\r
+      <Project>{2590BECB-2660-49C6-93B1-B9E7D0796214}</Project>\r
+      <Name>System.Core\System.Core-net_4_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Configuration\System.Configuration-net_4_0.csproj">\r
+      <Project>{610C7C77-5851-4B95-A3FE-B04E1B011E6A}</Project>\r
+      <Name>System.Configuration\System.Configuration-net_4_0</Name>\r
+    </ProjectReference>\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
-</Project>\r
-
+</Project>