[corlib] Improve flow of ExecutionContext (few tests taken from https://github.com...
[mono.git] / mcs / class / Mono.Http / Mono.Http-net_2_0.csproj
index 2842fe1fa6c358397720bb5c0fa8828391dfc3a4..5ded317f8c1db622cdb2fe84706559429131c966 100644 (file)
@@ -1,61 +1,62 @@
 <?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>{BCF0458C-9D8F-453A-BEE8-E0BB43B9AB44}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
-    <NoWarn>1699</NoWarn>\r
-    <OutputPath>./../../class/lib/net_2_0</OutputPath>\r
-    <DefineConstants>NET_1_1;NET_2_0</DefineConstants>\r
-    <NoStdLib>true</NoStdLib>\r
+    <NoWarn>1699,618</NoWarn>\r
+    <OutputPath>bin\Debug\Mono.Http-net_2_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.Http</AssemblyName>\r
-    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>\r
+    <TargetFrameworkVersion>v2.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</DefineConstants>\r
+    <NoWarn>1699,618</NoWarn>\r
+    <Optimize>false</Optimize>\r
+    <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
-    <NoWarn>1699</NoWarn>\r
+    <NoWarn>1699,618</NoWarn>\r
     <Optimize>true</Optimize>\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="Assembly\AssemblyInfo.cs" />
-   <Compile Include="..\..\build\common\Consts.cs" />
-   <Compile Include="Mono.Http\GZipWebRequest.cs" />
-   <Compile Include="Mono.Http\GZipWebResponse.cs" />
-   <Compile Include="Mono.Http\GZipWriteFilter.cs" />
-   <Compile Include="Mono.Http\GZipWebRequestCreator.cs" />
-   <Compile Include="Mono.Http\NtlmClient.cs" />
-   <Compile Include="Mono.Http.Configuration\AcceptEncodingConfig.cs" />
-   <Compile Include="Mono.Http.Configuration\AcceptEncodingSectionHandler.cs" />
-   <Compile Include="Mono.Http.Modules\AcceptEncodingModule.cs" />
-   <Compile Include="Mono.Http.Modules\AuthenticationModule.cs" />
-   <Compile Include="Mono.Http.Modules\BasicAuthenticationModule.cs" />
-   <Compile Include="Mono.Http.Modules\DigestAuthenticationModule.cs" />
-\r
-  </ItemGroup>\r
+    <Compile Include="..\..\build\common\Consts.cs" />\r
+    <Compile Include="Assembly\AssemblyInfo.cs" />\r
+    <Compile Include="Mono.Http.Configuration\AcceptEncodingConfig.cs" />\r
+    <Compile Include="Mono.Http.Configuration\AcceptEncodingSectionHandler.cs" />\r
+    <Compile Include="Mono.Http.Modules\AcceptEncodingModule.cs" />\r
+    <Compile Include="Mono.Http.Modules\AuthenticationModule.cs" />\r
+    <Compile Include="Mono.Http.Modules\BasicAuthenticationModule.cs" />\r
+    <Compile Include="Mono.Http.Modules\DigestAuthenticationModule.cs" />\r
+    <Compile Include="Mono.Http\GZipWebRequest.cs" />\r
+    <Compile Include="Mono.Http\GZipWebRequestCreator.cs" />\r
+    <Compile Include="Mono.Http\GZipWebResponse.cs" />\r
+    <Compile Include="Mono.Http\GZipWriteFilter.cs" />\r
+    <Compile Include="Mono.Http\NtlmClient.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="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.Xml.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\System.Xml.dll</HintPath>
-    </Reference>
-    <Reference Include="System.Web.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\System.Web.dll</HintPath>
-    </Reference>
-    <Reference Include="ICSharpCode.SharpZipLib.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\ICSharpCode.SharpZipLib.dll</HintPath>
-    </Reference>
-    <Reference Include="Mono.Security.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\\lib\build\Mono.Security.dll</HintPath>
-    </Reference>
-  </ItemGroup>
+    <PreBuildEvent>\r
 \r
+    </PreBuildEvent>\r
+    <PostBuildEvent>\r
+      xcopy $(TargetName).* $(ProjectDir)..\lib\net_2_0\ /Y /R /D\r
+  </PostBuildEvent>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <ProjectReference Include="..\corlib\corlib-net_2_0.csproj">\r
+      <Project>{EB7444A6-C3E6-4224-BDB0-63CA3B4F2B87}</Project>\r
+      <Name>corlib\corlib-net_2_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System\System-net_2_0-2.csproj">\r
+      <Project>{79F25FD7-0D76-4526-AF39-1A648649A827}</Project>\r
+      <Name>System\System-net_2_0-2</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.XML\System.Xml-net_2_0-1.csproj">\r
+      <Project>{D9776E38-7673-45F6-BF19-7B77830DF9CA}</Project>\r
+      <Name>System.XML\System.Xml-net_2_0-1</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\System.Web\System.Web-net_2_0-1.csproj">\r
+      <Project>{3BAE9384-0A9D-4505-ABED-6D41949763D3}</Project>\r
+      <Name>System.Web\System.Web-net_2_0-1</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\ICSharpCode.SharpZipLib\ICSharpCode.SharpZipLib-net_2_0.csproj">\r
+      <Project>{065A843F-C16B-4F2E-9560-69440147EDB2}</Project>\r
+      <Name>ICSharpCode.SharpZipLib\ICSharpCode.SharpZipLib-net_2_0</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\Mono.Security\Mono.Security-net_2_0.csproj">\r
+      <Project>{6785B2B5-3B06-48F3-9E6C-99B23B9AAC4F}</Project>\r
+      <Name>Mono.Security\Mono.Security-net_2_0</Name>\r
+    </ProjectReference>\r
+  </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
-</Project>\r
-
+</Project>