Merge pull request #555 from jack-pappas/sigaltstack-patch
[mono.git] / mcs / class / Mono.Messaging.RabbitMQ / Mono.Messaging.RabbitMQ-net_4_0.csproj
index 5e2a59a7cf46b4ff396d9b7e1b5b8fc7d982cb9e..146c43ed9657692219f904169b2e6571525dedc9 100644 (file)
@@ -1,59 +1,60 @@
 <?xml version="1.0" encoding="utf-8"?>\r
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
   <PropertyGroup>\r
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
     <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>{901F0EC1-DE1E-4456-8CF1-82C0D811BCD4}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
-    <NoWarn>1699</NoWarn>\r
-    <OutputPath>./../../class/lib/net_4_0</OutputPath>\r
-    <DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>\r
-    <NoStdLib>true</NoStdLib>\r
+    <NoWarn>1699,618</NoWarn>\r
+    <OutputPath>bin\Debug\Mono.Messaging.RabbitMQ-net_4_0</OutputPath>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>True</NoConfig>\r
     \r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace>mscorlib</RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>Mono.Messaging.RabbitMQ</AssemblyName>\r
-    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>\r
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
-    <StartupObject>\r
-    </StartupObject>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
     <DebugSymbols>true</DebugSymbols>\r
     <DebugType>full</DebugType>\r
-    <NoWarn>1699</NoWarn>\r
-    <Optimize>true</Optimize>\r
-    <DefineConstants>NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0</DefineConstants>\r
+    <NoWarn>1699,618</NoWarn>\r
+    <Optimize>false</Optimize>\r
+    <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
-    <NoWarn>1699</NoWarn>\r
+    <NoWarn>1699,618</NoWarn>\r
     <Optimize>true</Optimize>\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=".\Assembly\AssemblyInfo.cs" />
-   <Compile Include="..\..\build\common\Consts.cs" />
-   <Compile Include="..\..\build\common\Locale.cs" />
-   <Compile Include=".\Mono.Messaging.RabbitMQ\IMessagingContext.cs" />
-   <Compile Include=".\Mono.Messaging.RabbitMQ\MessageFactory.cs" />
-   <Compile Include=".\Mono.Messaging.RabbitMQ\MessagingContext.cs" />
-   <Compile Include=".\Mono.Messaging.RabbitMQ\MessagingContextPool.cs" />
-   <Compile Include=".\Mono.Messaging.RabbitMQ\RabbitMQMessageEnumerator.cs" />
-   <Compile Include=".\Mono.Messaging.RabbitMQ\RabbitMQMessageQueue.cs" />
-   <Compile Include=".\Mono.Messaging.RabbitMQ\RabbitMQMessageQueueTransaction.cs" />
-   <Compile Include=".\Mono.Messaging.RabbitMQ\RabbitMQMessagingProvider.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=".\Mono.Messaging.RabbitMQ\IMessagingContext.cs" />\r
+    <Compile Include=".\Mono.Messaging.RabbitMQ\MessageFactory.cs" />\r
+    <Compile Include=".\Mono.Messaging.RabbitMQ\MessagingContext.cs" />\r
+    <Compile Include=".\Mono.Messaging.RabbitMQ\MessagingContextPool.cs" />\r
+    <Compile Include=".\Mono.Messaging.RabbitMQ\RabbitMQMessageEnumerator.cs" />\r
+    <Compile Include=".\Mono.Messaging.RabbitMQ\RabbitMQMessageQueue.cs" />\r
+    <Compile Include=".\Mono.Messaging.RabbitMQ\RabbitMQMessageQueueTransaction.cs" />\r
+    <Compile Include=".\Mono.Messaging.RabbitMQ\RabbitMQMessagingProvider.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
-  </PropertyGroup>\r
-  <ItemGroup>
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\mscorlib.dll</HintPath>
-    </Reference>
-    <Reference Include="System.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\System.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Messaging.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\System.Messaging.dll</HintPath>
-    </Reference>
-    <Reference Include="Mono.Messaging.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\Mono.Messaging.dll</HintPath>
-    </Reference>
-    <Reference Include="RabbitMQ.Client">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\RabbitMQ.Client</HintPath>
-    </Reference>
-  </ItemGroup>
+    <PreBuildEvent>\r
 \r
+    </PreBuildEvent>\r
+    <PostBuildEvent>\r
+      xcopy $(TargetName).* $(ProjectDir)..\lib\net_4_0\ /Y /R /D\r
+  </PostBuildEvent>\r
+  </PropertyGroup>\r
+  <ItemGroup>\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.Messaging\System.Messaging-net_4_0.csproj">\r
+      <Project>{2651037E-FD2B-4BBC-B655-CC3F0B0E4BD0}</Project>\r
+      <Name>System.Messaging\System.Messaging-net_4_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\Mono.Messaging\Mono.Messaging-net_4_0.csproj">\r
+      <Project>{7D27EF3B-540A-4BBD-873C-878ABC927401}</Project>\r
+      <Name>Mono.Messaging\Mono.Messaging-net_4_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\RabbitMQ.Client\src\client\RabbitMQ.Client-net_4_0.csproj">\r
+      <Project>{3FB3AB58-B04E-452B-A0D9-EC8FBBEF2031}</Project>\r
+      <Name>client\RabbitMQ.Client-net_4_0</Name>\r
+    </ProjectReference>\r
+  </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
-</Project>\r
-
+</Project>