Update csproj files
[mono.git] / mcs / class / Mono.Messaging / Mono.Messaging-tests-net_4_0.csproj
index 54cc36faffd6213cda38373da58c105eb3801b2d..470bb44765a3672990cc09109c3dd570f4469d1c 100644 (file)
@@ -5,22 +5,21 @@
     <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>{5AC085FA-0E0E-4A20-B103-56F22A417560}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,618,219,169</NoWarn>\r
-    <OutputPath>.\</OutputPath>\r
-    <NoStdLib>true</NoStdLib>\r
+    <OutputPath>bin\Debug\Mono.Messaging-tests-net_4_0</OutputPath>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>False</NoConfig>\r
     \r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace></RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>Mono.Messaging_test_net_4_0</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>1699,618,219,169</NoWarn>\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
-    <PlatformTarget>AnyCPU</PlatformTarget>  \r
     <DebugType>pdbonly</DebugType>\r
     <NoWarn>1699,618,219,169</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="Test\Mono.Messaging\ConcurrentLinkedQueueTest.cs" />
-   <Compile Include="Test\Mono.Messaging\QueueReferenceTest.cs" />
-\r
-  </ItemGroup>\r
+    <Compile Include="Test\Mono.Messaging\ConcurrentLinkedQueueTest.cs" />\r
+    <Compile Include="Test\Mono.Messaging\QueueReferenceTest.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="./../../class/lib/net_4_0/Mono.Messaging.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>./../../class/lib/net_4_0/Mono.Messaging.dll</HintPath>
-    </Reference>
-    <Reference Include="System.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Configuration">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Configuration</HintPath>
-    </Reference>
-    <Reference Include="System.Messaging.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Messaging.dll</HintPath>
-    </Reference>
-    <Reference Include="nunit.mocks.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>nunit.mocks.dll</HintPath>
-    </Reference>
-    <Reference Include="nunit.framework" />
-\r
+    <Reference Include="..\lib\net_4_0\nunit.framework.dll" />\r
+    <ProjectReference Include="..\corlib\corlib-net_4_0.csproj">\r
+      <Project>{280E1B59-BAAA-4E02-99CA-8070BCB2C72E}</Project>\r
+      <Name>corlib\corlib-net_4_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\Mono.Messaging\Mono.Messaging-net_4_0.csproj">\r
+      <Project>{90D51354-ED8D-41B3-B4AD-9E18370E5049}</Project>\r
+      <Name>Mono.Messaging\Mono.Messaging-net_4_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System\System-net_4_0-2.csproj">\r
+      <Project>{C0648621-9C6E-4584-9CF6-70EBB2D60489}</Project>\r
+      <Name>System\System-net_4_0-2</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Configuration\System.Configuration-net_4_0.csproj">\r
+      <Project>{5D195206-1E4E-4454-9F97-185E27BE57BD}</Project>\r
+      <Name>System.Configuration\System.Configuration-net_4_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Messaging\System.Messaging-net_2_0.csproj">\r
+      <Project>{A977B7C1-2082-45E9-B507-BD5F5C84F4AD}</Project>\r
+      <Name>System.Messaging\System.Messaging-net_2_0</Name>\r
+    </ProjectReference>\r
+    <Reference Include="nunit.mocks.dll">\r
+      <SpecificVersion>False</SpecificVersion>\r
+      <HintPath>nunit.mocks.dll</HintPath>\r
+      <Private>False</Private>\r
+    </Reference>\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
-</Project>\r
-
+</Project>