Merge pull request #1420 from directhex/define_ssize_max_on_windows
[mono.git] / mcs / class / System.Net.Http / System.Net.Http-net_4_5.csproj
index faf0c430ffb53fb3710f467c27b45d03b12e87d6..06d2ae9c4e40a3333a1e2f6a644c71b99efdaeca 100644 (file)
@@ -5,18 +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>{E36C154B-A0AC-4721-B06A-AFE31D357CE5}</ProjectGuid>\r
     <OutputType>Library</OutputType>\r
     <NoWarn>1699</NoWarn>\r
     <OutputPath>./../../class/lib/net_4_5</OutputPath>\r
-    <NoStdLib>true</NoStdLib>\r
+    <NoStdLib>True</NoStdLib>\r
+    <NoConfig>True</NoConfig>\r
     \r
     <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace></RootNamespace>\r
+    <RootNamespace>\r
+    </RootNamespace>\r
     <AssemblyName>System.Net.Http</AssemblyName>\r
     <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>\r
     <FileAlignment>512</FileAlignment>\r
   </PropertyGroup>\r
+  \r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
     <DebugSymbols>true</DebugSymbols>\r
     <DebugType>full</DebugType>\r
@@ -25,7 +28,6 @@
     <DefineConstants>DEBUG;TRACE;NET_1_1;NET_2_0;NET_3_0;NET_3_5;NET_4_0;NET_4_5</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_4_5</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;NET_4_5</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
     <WarningLevel>4</WarningLevel>\r
-    <AdditionalLibPaths>./../../class/lib/net_4_5</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="Assembly\AssemblyInfo.cs" />
-   <Compile Include="System.Net.Http\ByteArrayContent.cs" />
-   <Compile Include="System.Net.Http\ClientCertificateOption.cs" />
-   <Compile Include="System.Net.Http\DelegatingHandler.cs" />
-   <Compile Include="System.Net.Http\FormUrlEncodedContent.cs" />
-   <Compile Include="System.Net.Http\HttpClient.cs" />
-   <Compile Include="System.Net.Http\HttpClientHandler.cs" />
-   <Compile Include="System.Net.Http\HttpCompletionOption.cs" />
-   <Compile Include="System.Net.Http\HttpContent.cs" />
-   <Compile Include="System.Net.Http\HttpMessageHandler.cs" />
-   <Compile Include="System.Net.Http\HttpMessageInvoker.cs" />
-   <Compile Include="System.Net.Http\HttpMethod.cs" />
-   <Compile Include="System.Net.Http\HttpRequestException.cs" />
-   <Compile Include="System.Net.Http\HttpRequestMessage.cs" />
-   <Compile Include="System.Net.Http\HttpResponseMessage.cs" />
-   <Compile Include="System.Net.Http\MessageProcessingHandler.cs" />
-   <Compile Include="System.Net.Http\MultipartContent.cs" />
-   <Compile Include="System.Net.Http\MultipartFormDataContent.cs" />
-   <Compile Include="System.Net.Http\StreamContent.cs" />
-   <Compile Include="System.Net.Http\StringContent.cs" />
-   <Compile Include="System.Net.Http.Headers\AuthenticationHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\CacheControlHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\CollectionExtensions.cs" />
-   <Compile Include="System.Net.Http.Headers\ContentDispositionHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\ContentRangeHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\EntityTagHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\HashCodeCalculator.cs" />
-   <Compile Include="System.Net.Http.Headers\HeaderInfo.cs" />
-   <Compile Include="System.Net.Http.Headers\HttpContentHeaders.cs" />
-   <Compile Include="System.Net.Http.Headers\HttpHeaderKind.cs" />
-   <Compile Include="System.Net.Http.Headers\HttpHeaders.cs" />
-   <Compile Include="System.Net.Http.Headers\HttpHeaderValueCollection.cs" />
-   <Compile Include="System.Net.Http.Headers\HttpRequestHeaders.cs" />
-   <Compile Include="System.Net.Http.Headers\HttpResponseHeaders.cs" />
-   <Compile Include="System.Net.Http.Headers\Lexer.cs" />
-   <Compile Include="System.Net.Http.Headers\MediaTypeHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\MediaTypeWithQualityHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\NameValueHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\NameValueWithParametersHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\Parser.cs" />
-   <Compile Include="System.Net.Http.Headers\ProductHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\ProductInfoHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\QualityValue.cs" />
-   <Compile Include="System.Net.Http.Headers\RangeConditionHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\RangeHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\RangeItemHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\RetryConditionHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\StringWithQualityHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\TransferCodingHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\TransferCodingWithQualityHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\ViaHeaderValue.cs" />
-   <Compile Include="System.Net.Http.Headers\WarningHeaderValue.cs" />
-\r
-  </ItemGroup>\r
+    <Compile Include="..\..\build\common\Consts.cs" />\r
+    <Compile Include="Assembly\AssemblyInfo.cs" />\r
+    <Compile Include="System.Net.Http.Headers\AuthenticationHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\CacheControlHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\CollectionExtensions.cs" />\r
+    <Compile Include="System.Net.Http.Headers\CollectionParser.cs" />\r
+    <Compile Include="System.Net.Http.Headers\ContentDispositionHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\ContentRangeHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\EntityTagHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\HashCodeCalculator.cs" />\r
+    <Compile Include="System.Net.Http.Headers\HeaderInfo.cs" />\r
+    <Compile Include="System.Net.Http.Headers\HttpContentHeaders.cs" />\r
+    <Compile Include="System.Net.Http.Headers\HttpHeaderKind.cs" />\r
+    <Compile Include="System.Net.Http.Headers\HttpHeaders.cs" />\r
+    <Compile Include="System.Net.Http.Headers\HttpHeaderValueCollection.cs" />\r
+    <Compile Include="System.Net.Http.Headers\HttpRequestHeaders.cs" />\r
+    <Compile Include="System.Net.Http.Headers\HttpResponseHeaders.cs" />\r
+    <Compile Include="System.Net.Http.Headers\Lexer.cs" />\r
+    <Compile Include="System.Net.Http.Headers\MediaTypeHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\MediaTypeWithQualityHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\NameValueHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\NameValueWithParametersHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\Parser.cs" />\r
+    <Compile Include="System.Net.Http.Headers\ProductHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\ProductInfoHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\QualityValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\RangeConditionHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\RangeHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\RangeItemHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\RetryConditionHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\StringWithQualityHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\TransferCodingHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\TransferCodingWithQualityHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\ViaHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http.Headers\WarningHeaderValue.cs" />\r
+    <Compile Include="System.Net.Http\ByteArrayContent.cs" />\r
+    <Compile Include="System.Net.Http\ClientCertificateOption.cs" />\r
+    <Compile Include="System.Net.Http\DelegatingHandler.cs" />\r
+    <Compile Include="System.Net.Http\FormUrlEncodedContent.cs" />\r
+    <Compile Include="System.Net.Http\HttpClient.cs" />\r
+    <Compile Include="System.Net.Http\HttpClientHandler.cs" />\r
+    <Compile Include="System.Net.Http\HttpCompletionOption.cs" />\r
+    <Compile Include="System.Net.Http\HttpContent.cs" />\r
+    <Compile Include="System.Net.Http\HttpMessageHandler.cs" />\r
+    <Compile Include="System.Net.Http\HttpMessageInvoker.cs" />\r
+    <Compile Include="System.Net.Http\HttpMethod.cs" />\r
+    <Compile Include="System.Net.Http\HttpRequestException.cs" />\r
+    <Compile Include="System.Net.Http\HttpRequestMessage.cs" />\r
+    <Compile Include="System.Net.Http\HttpResponseMessage.cs" />\r
+    <Compile Include="System.Net.Http\MessageProcessingHandler.cs" />\r
+    <Compile Include="System.Net.Http\MultipartContent.cs" />\r
+    <Compile Include="System.Net.Http\MultipartFormDataContent.cs" />\r
+    <Compile Include="System.Net.Http\StreamContent.cs" />\r
+    <Compile Include="System.Net.Http\StringContent.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 Condition=" '$(OS)' != 'Windows_NT' ">
+
+    </PreBuildEvent>
+    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
+
+    </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="System.Core.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.Core.dll</HintPath>
-    </Reference>
-    <Reference Include="System.dll">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>System.dll</HintPath>
-    </Reference>
-\r
+    <ProjectReference Include="../corlib/corlib-net_4_5.csproj">\r
+      <Project>{33BF0182-AC5C-464C-995B-C9CFE74E1A95}</Project>\r
+      <Name>corlib-net_4_5</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="../System.Core/System.Core-net_4_5.csproj">\r
+      <Project>{D92530F4-3F2B-4351-BD21-9D6BEE6D2A4E}</Project>\r
+      <Name>System.Core-net_4_5</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="../System/System-net_4_5.csproj">\r
+      <Project>{FFAC0B73-D997-493B-9C62-27656CD858BB}</Project>\r
+      <Name>System-net_4_5</Name>\r
+    </ProjectReference>\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Folder Include="Properties\" />\r
   </ItemGroup>\r
-  \r
 </Project>\r