forked from dotnet/corefx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSystem.Net.Http.csproj
More file actions
164 lines (156 loc) · 9.72 KB
/
Copy pathSystem.Net.Http.csproj
File metadata and controls
164 lines (156 loc) · 9.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Windows_Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{1D422B1D-D7C4-41B9-862D-EB3D98DF37DE}</ProjectGuid>
<OutputType>Library</OutputType>
<AssemblyName>System.Net.Http</AssemblyName>
</PropertyGroup>
<!-- Help VS understand available configurations -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'FreeBSD_Debug|AnyCPU' " />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'FreeBSD_Release|AnyCPU' " />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Linux_Debug|AnyCPU' " />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Linux_Release|AnyCPU' " />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'OSX_Debug|AnyCPU' " />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'OSX_Release|AnyCPU' " />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Windows_Debug|AnyCPU' " />
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Windows_Release|AnyCPU' " />
<!-- Shims -->
<ItemGroup>
<Compile Include="Shims\Uri.cs" />
</ItemGroup>
<ItemGroup>
<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\DelegatingStream.cs" />
<Compile Include="System\Net\Http\FormUrlEncodedContent.cs" />
<Compile Include="System\Net\Http\HttpClient.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\HttpParseResult.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\HttpRuleParser.cs" />
<Compile Include="System\Net\Http\HttpUtilities.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\StreamToStreamCopy.cs" />
<Compile Include="System\Net\Http\StringContent.cs" />
<Compile Include="System\Net\Http\Headers\AuthenticationHeaderValue.cs" />
<Compile Include="System\Net\Http\Headers\BaseHeaderParser.cs" />
<Compile Include="System\Net\Http\Headers\ByteArrayHeaderParser.cs" />
<Compile Include="System\Net\Http\Headers\CacheControlHeaderParser.cs" />
<Compile Include="System\Net\Http\Headers\CacheControlHeaderValue.cs" />
<Compile Include="System\Net\Http\Headers\ContentDispositionHeaderValue.cs" />
<Compile Include="System\Net\Http\Headers\ContentRangeHeaderValue.cs" />
<Compile Include="System\Net\Http\Headers\DateHeaderParser.cs" />
<Compile Include="System\Net\Http\Headers\EntityTagHeaderValue.cs" />
<Compile Include="System\Net\Http\Headers\GenericHeaderParser.cs" />
<Compile Include="System\Net\Http\Headers\HeaderUtilities.cs" />
<Compile Include="System\Net\Http\Headers\HttpContentHeaders.cs" />
<Compile Include="System\Net\Http\Headers\HttpGeneralHeaders.cs" />
<Compile Include="System\Net\Http\Headers\HttpHeaderParser.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\Int32NumberHeaderParser.cs" />
<Compile Include="System\Net\Http\Headers\Int64NumberHeaderParser.cs" />
<Compile Include="System\Net\Http\Headers\MediaTypeHeaderParser.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\ObjectCollection.cs" />
<Compile Include="System\Net\Http\Headers\ProductHeaderValue.cs" />
<Compile Include="System\Net\Http\Headers\ProductInfoHeaderParser.cs" />
<Compile Include="System\Net\Http\Headers\ProductInfoHeaderValue.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\TimeSpanHeaderParser.cs" />
<Compile Include="System\Net\Http\Headers\TransferCodingHeaderParser.cs" />
<Compile Include="System\Net\Http\Headers\TransferCodingHeaderValue.cs" />
<Compile Include="System\Net\Http\Headers\TransferCodingWithQualityHeaderValue.cs" />
<Compile Include="System\Net\Http\Headers\UriHeaderParser.cs" />
<Compile Include="System\Net\Http\Headers\ViaHeaderValue.cs" />
<Compile Include="System\Net\Http\Headers\WarningHeaderValue.cs" />
<!-- TODO: Must be moved to the Common/System/Net folder -->
<Compile Include="Internal\ICloneable.cs" />
<Compile Include="Internal\HttpVersion.cs" />
<Compile Include="Internal\HttpStatusDescription.cs" />
<Compile Include="Internal\MailAddress.cs" />
<Compile Include="Internal\Mail\DomainLiteralReader.cs" />
<Compile Include="Internal\Mail\DotAtomReader.cs" />
<Compile Include="Internal\Mail\MailAddressParser.cs" />
<Compile Include="Internal\Mail\MailBnfHelper.cs" />
<Compile Include="Internal\Mail\QuotedPairReader.cs" />
<Compile Include="Internal\Mail\QuotedStringFormatReader.cs" />
<Compile Include="Internal\Mail\WhitespaceReader.cs" />
<Compile Include="$(CommonPath)\System\Net\HttpKnownHeaderNames.cs">
<Link>Common\System\Net\HttpKnownHeaderNames.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\Net\Logging.cs">
<Link>Common\System\Net\Logging.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup Condition=" '$(TargetsWindows)' == 'true' ">
<Compile Include="System\Net\Http\HttpClientHandler.Windows.cs" />
</ItemGroup>
<PropertyGroup Condition=" '$(TargetsWindows)' == 'true' ">
<DefineConstants>$(DefineConstants);HTTP_DLL</DefineConstants>
</PropertyGroup>
<!-- Compile the WinHttpHandler implementation into the System.Net.Http.dll binary. This is a
temporary solution to remove the cycle dependency between HttpClient and WinHttpHandler.
As part of that, we need to define HTTP_DLL in order to compile the 'protected' SendAsync()
method in WinHttpHandler.cs as 'protected internal' to match the internal definition in
HttpMessageHandler.cs. We also use the HTTP_DLL define to change public classes into
internal ones to remove confusion if someone looks at the implementation dlls. They are
public in the separate WinHttpHandler.dll binary. -->
<Import Project="..\..\System.Net.Http.WinHttpHandler\src\System.Net.Http.WinHttpHandler.msbuild" Condition=" '$(TargetsWindows)' == 'true' "/>
<!-- For source files to be shown within the visual tree in Solution Explorer, the items must be
included directly in the project file. We have the *.msbuild define the Compile items in a made
up item called CompileItem and then just include it here. -->
<ItemGroup Condition=" '$(TargetsWindows)' == 'true' ">
<Compile Include="@(CompileItem)" />
</ItemGroup>
<PropertyGroup Condition=" '$(TargetsUnix)' == 'true' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetsUnix)' == 'true' ">
<Compile Include="System\Net\Http\Unix\CurlCallbacks.cs" />
<Compile Include="System\Net\Http\Unix\CurlHandler.cs" />
<Compile Include="System\Net\Http\Unix\CurlResponseMessage.cs" />
<Compile Include="System\Net\Http\Unix\HttpClientHandler.Unix.cs" />
<Compile Include="$(CommonPath)\Interop\Unix\Interop.Libraries.cs">
<Link>Common\Interop\Unix\Interop.Libraries.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\Interop\Unix\libcurl\Interop.libcurl.cs">
<Link>Common\Interop\Unix\libcurl\Interop.libcurl.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\Interop\Unix\libcurl\Interop.libcurl_types.cs">
<Link>Common\Interop\Unix\libcurl\Interop.libcurl_types.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\Interop\Unix\libcurl\Interop.SafeCurlHandle.cs">
<Link>Common\Interop\Unix\libcurl\Interop.SafeCurlHandle.cs</Link>
</Compile>
<Compile Include="$(CommonPath)\System\NotImplemented.cs">
<Link>Common\System\NotImplemented.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="project.json" />
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>