Merge pull request #1067 from esdrubal/bug19862
[mono.git] / mcs / class / System.Transactions / System.Transactions-tests-net_2_0.csproj
index 1e9551f9363cb9d844629a9d0753b78f89d82acb..03d36667a88612872113737fddb1bcdb4b4a24bf 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>{D8B6CB08-B1BB-464B-82E1-E3276B92B458}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699,1595</NoWarn>\r
-    <OutputPath>.\</OutputPath>\r
-    <NoStdLib>true</NoStdLib>\r
+    <OutputPath>bin\Debug\System.Transactions-tests-net_2_0</OutputPath>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>False</NoConfig>\r
     \r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace></RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>System.Transactions_test_net_2_0</AssemblyName>\r
     <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
@@ -25,7 +27,6 @@
     <DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_2_0</AdditionalLibPaths>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
     <DebugType>pdbonly</DebugType>\r
     <DefineConstants>NET_1_1;NET_2_0</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_2_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\IntResourceManager.cs" />
-   <Compile Include="Test\AsyncTest.cs" />
-   <Compile Include="Test\TransactionScopeTest.cs" />
-   <Compile Include="Test\EnlistTest.cs" />
-\r
-  </ItemGroup>\r
+    <Compile Include="Test\AsyncTest.cs" />\r
+    <Compile Include="Test\EnlistTest.cs" />\r
+    <Compile Include="Test\IntResourceManager.cs" />\r
+    <Compile Include="Test\TransactionScopeTest.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 Condition=" '$(OS)' != 'Windows_NT' ">
+
+    </PostBuildEvent>
+    <PostBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
+
+    </PostBuildEvent>\r
   </PropertyGroup>\r
   <ItemGroup>\r
-    <Reference Include="mscorlib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>mscorlib.dll</HintPath>
-    </Reference>
-    <Reference Include="./../../class/lib/net_2_0/System.Transactions.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>./../../class/lib/net_2_0/System.Transactions.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.Configuration.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Configuration.dll</HintPath>
-    </Reference>
-    <Reference Include="nunit.framework" />
-\r
+    <Reference Include="..\lib\net_2_0\nunit.framework.dll" />\r
+    <ProjectReference Include="..\corlib\corlib-net_2_0.csproj">\r
+      <Project>{5A00133C-6D08-48F7-A164-8B796CE6DB83}</Project>\r
+      <Name>corlib\corlib-net_2_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Transactions\System.Transactions-net_2_0.csproj">\r
+      <Project>{BBC5CD06-50EB-439E-9DBB-2B5D644BE6C3}</Project>\r
+      <Name>System.Transactions\System.Transactions-net_2_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System\System-net_2_0-2.csproj">\r
+      <Project>{1F3B168C-A4D0-44AA-B116-792D8804971F}</Project>\r
+      <Name>System\System-net_2_0-2</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Configuration\System.Configuration-net_2_0.csproj">\r
+      <Project>{2695A2F2-2271-423D-8E0D-553DAB84E917}</Project>\r
+      <Name>System.Configuration\System.Configuration-net_2_0</Name>\r
+    </ProjectReference>\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
 </Project>\r