mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-27 08:49:04 -10:00
We now respect the version: if it's 1.1, we use 1.1, and if it's 2.0, we try to use HTTP/2. At the same time, the default for HttpRequestMessage.Version goes back to 1.1, so to use HTTP/2, you opt-in by setting the version explicitly to 2.0. Commit migrated from https://github.com/dotnet/corefx/commit/d69d441dfb0710c2a34155c7c4745db357b14c96
186 lines
10 KiB
XML
186 lines
10 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<ProjectGuid>{C85CF035-7804-41FF-9557-48B7C948B58D}</ProjectGuid>
|
|
<DefineConstants Condition="'$(TargetsWindows)'=='true'">$(DefineConstants);TargetsWindows</DefineConstants>
|
|
<DefineConstants>$(DefineConstants);SYSNETHTTP_NO_OPENSSL</DefineConstants>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<IncludeRemoteExecutor>true</IncludeRemoteExecutor>
|
|
<Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netstandard-Unix-Debug;netstandard-Unix-Release;netstandard-Windows_NT-Debug;netstandard-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="$(CommonPath)\Interop\Unix\Interop.Libraries.cs" Condition="'$(TargetsUnix)' == 'true'">
|
|
<Link>Common\Interop\Unix\System.Net.Http.Native\Interop.VersionInfo.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonPath)\Interop\Unix\System.Net.Http.Native\Interop.VersionInfo.cs" Condition="'$(TargetsUnix)' == 'true'">
|
|
<Link>Common\Interop\Unix\System.Net.Http.Native\Interop.VersionInfo.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonPath)\Interop\Unix\System.Net.Security.Native\Interop.NetSecurityNative.IsNtlmInstalled.cs" Condition="'$(TargetsUnix)' == 'true'">
|
|
<Link>Common\Interop\Unix\System.Net.Security.Native\Interop.NetSecurityNative.IsNtlmInstalled.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Buffers\NativeMemoryManager.cs">
|
|
<Link>Common\System\Buffers\NativeMemoryManager.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Diagnostics\Tracing\TestEventListener.cs">
|
|
<Link>Common\System\Diagnostics\Tracing\TestEventListener.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Diagnostics\Tracing\ConsoleEventListener.cs">
|
|
<Link>Common\System\Diagnostics\Tracing\ConsoleEventListener.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\IO\DelegateStream.cs">
|
|
<Link>Common\System\IO\DelegateStream.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\RemoteServerQuery.cs">
|
|
<Link>Common\System\Net\RemoteServerQuery.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Configuration.Certificates.cs">
|
|
<Link>Common\System\Net\Configuration.Certificates.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\EventSourceTestLogging.cs">
|
|
<Link>Common\System\Net\EventSourceTestLogging.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\HttpsTestServer.cs">
|
|
<Link>Common\System\Net\HttpsTestServer.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Capability.Security.cs">
|
|
<Link>Common\System\Net\Capability.Security.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Capability.Security.Windows.cs" Condition="'$(TargetsWindows)' == 'true'">
|
|
<Link>Common\System\Net\Capability.Security.Windows.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Capability.Security.Unix.cs" Condition="'$(TargetsUnix)' == 'true'">
|
|
<Link>Common\System\Net\Capability.Security.Unix.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Configuration.cs">
|
|
<Link>Common\System\Net\Configuration.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Configuration.Http.cs">
|
|
<Link>Common\System\Net\Configuration.Http.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Configuration.Security.cs">
|
|
<Link>Common\System\Net\Configuration.Security.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\TestWebProxies.cs">
|
|
<Link>Common\System\Net\TestWebProxies.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\VerboseTestLogging.cs">
|
|
<Link>Common\System\Net\VerboseTestLogging.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Http\LoopbackProxyServer.cs">
|
|
<Link>Common\System\Net\Http\LoopbackProxyServer.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Http\LoopbackServer.cs">
|
|
<Link>Common\System\Net\Http\LoopbackServer.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Http\LoopbackServer.AuthenticationHelpers.cs">
|
|
<Link>Common\System\Net\Http\LoopbackServer.AuthenticationHelpers.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Http\GenericLoopbackServer.cs">
|
|
<Link>Common\System\Net\Http\GenericLoopbackServer.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Threading\TrackingSynchronizationContext.cs">
|
|
<Link>Common\System\Threading\TrackingSynchronizationContext.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Threading\Tasks\TaskTimeoutExtensions.cs">
|
|
<Link>Common\System\Threading\Tasks\TaskTimeoutExtensions.cs</Link>
|
|
</Compile>
|
|
<Compile Include="ByteArrayContentTest.cs" />
|
|
<Compile Include="ChannelBindingAwareContent.cs" />
|
|
<Compile Include="DribbleStream.cs" />
|
|
<Compile Include="CustomContent.cs" />
|
|
<Compile Include="DelegatingHandlerTest.cs" />
|
|
<Compile Include="FakeDiagnosticSourceListenerObserver.cs" />
|
|
<Compile Include="FormUrlEncodedContentTest.cs" />
|
|
<Compile Include="HttpClientHandlerTest.Authentication.cs" />
|
|
<Compile Include="HttpClientHandlerTest.AutoRedirect.cs" />
|
|
<Compile Include="HttpClientHandlerTest.cs" />
|
|
<Compile Include="HttpClientHandlerTest.Cancellation.cs" />
|
|
<Compile Include="HttpClientHandlerTest.ClientCertificates.cs" />
|
|
<Compile Include="HttpClientHandlerTest.Asynchrony.cs" />
|
|
<Compile Include="HttpClientHandlerTest.DefaultProxyCredentials.cs" />
|
|
<Compile Include="HttpClientHandlerTest.Proxy.cs" />
|
|
<Compile Include="HttpClientHandlerTest.ResponseDrain.cs" />
|
|
<Compile Include="HttpClientHandlerTest.MaxConnectionsPerServer.cs" />
|
|
<Compile Include="HttpClientHandlerTest.MaxResponseHeadersLength.cs" />
|
|
<Compile Include="HttpClientHandlerTest.ServerCertificates.cs" />
|
|
<Compile Include="HttpClientHandlerTest.ServerCertificates.Unix.cs" Condition="'$(TargetsUnix)' == 'true'" />
|
|
<Compile Include="HttpClientHandlerTest.ServerCertificates.Windows.cs" Condition="'$(TargetsWindows)' == 'true'" />
|
|
<Compile Include="HttpClientHandlerTest.SslProtocols.cs" />
|
|
<Compile Include="HttpClientHandlerTest.SslProtocols.Unix.cs" Condition="'$(TargetsUnix)' == 'true'" />
|
|
<Compile Include="HttpClientHandlerTest.SslProtocols.Windows.cs" Condition="'$(TargetsWindows)' == 'true'" />
|
|
<Compile Include="DiagnosticsTests.cs" />
|
|
<Compile Include="HttpClientHandlerTestBase.cs" />
|
|
<Compile Include="HttpClientTest.cs" />
|
|
<Compile Include="HttpClientEKUTest.cs" />
|
|
<Compile Include="HttpClientMiniStressTest.cs" />
|
|
<Compile Include="HttpClient.SelectedSitesTest.cs" />
|
|
<Compile Include="HttpContentTest.cs" />
|
|
<Compile Include="HttpMessageInvokerTest.cs" />
|
|
<Compile Include="HttpMethodTest.cs" />
|
|
<Compile Include="HttpClientHandlerTest.Cookies.cs" />
|
|
<Compile Include="HttpClientHandlerTest.Headers.cs" />
|
|
<Compile Include="HttpRetryProtocolTests.cs" />
|
|
<Compile Include="IdnaProtocolTests.cs" />
|
|
<Compile Include="HttpProtocolTests.cs" />
|
|
<Compile Include="HttpRequestMessageTest.cs" />
|
|
<Compile Include="HttpResponseMessageTest.cs" />
|
|
<Compile Include="MessageProcessingHandlerTest.cs" />
|
|
<Compile Include="MultipartContentTest.cs" />
|
|
<Compile Include="MultipartFormDataContentTest.cs" />
|
|
<Compile Include="PlatformHandlerTest.cs" />
|
|
<Compile Include="PostScenarioTest.cs" />
|
|
<Compile Include="RepeatedFlushContent.cs" />
|
|
<Compile Include="ResponseStreamTest.cs" />
|
|
<Compile Include="SchSendAuxRecordHttpTest.cs" />
|
|
<Compile Include="StreamContentTest.cs" />
|
|
<Compile Include="StringContentTest.cs" />
|
|
<Compile Include="SyncBlockingContent.cs" />
|
|
<Compile Include="TestHelper.cs" />
|
|
<Compile Include="DefaultCredentialsTest.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp'">
|
|
<Compile Include="HttpClientHandlerTest.AcceptAllCerts.cs" />
|
|
<Compile Include="HttpClientHandlerTest.Decompression.cs" />
|
|
<Compile Include="HttpClientTest.netcoreapp.cs" />
|
|
<Compile Include="HttpMethodTest.netcoreapp.cs" />
|
|
<Compile Include="HuffmanDecodingTests.cs" />
|
|
<Compile Include="NtAuthTests.cs" />
|
|
<Compile Include="ReadOnlyMemoryContentTest.cs" />
|
|
<Compile Include="SocketsHttpHandlerTest.cs" />
|
|
<Compile Include="HttpClientHandlerTest.Http1.cs" />
|
|
<Compile Include="HttpClientHandlerTest.Http2.cs" />
|
|
<Compile Include="$(CommonTestPath)\System\Net\Http\Http2Frames.cs">
|
|
<Link>Common\System\Net\Http\Http2Frames.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Http\Http2LoopbackServer.cs">
|
|
<Link>Common\System\Net\Http\Http2LoopbackServer.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\Http\HuffmanDecoder.cs">
|
|
<Link>Common\System\Net\Http\HuffmanDecoder.cs</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(TargetGroup)' == 'netstandard'">
|
|
<Compile Include="$(CommonTestPath)\System\IO\StreamSpanExtensions.netstandard.cs">
|
|
<Link>Common\System\IO\StreamSpanExtensions.netstandard.cs</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(TargetGroup)' == 'uap'">
|
|
<Reference Include="Windows" />
|
|
<Compile Include="MultiInterfaceNonRewindableReadOnlyStream.cs" />
|
|
<Compile Include="MultiInterfaceReadOnlyStream.cs" />
|
|
<Compile Include="MultiInterfaceStreamContent.cs" />
|
|
<Compile Include="PostScenarioUWPTest.cs" />
|
|
<Compile Include="XUnitAssemblyAttributes.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<SupplementalTestData Include="$(PackagesDir)system.net.testdata\1.0.2\content\**\*.*" DestinationDir="TestData" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(TargetsOSX)'=='true'">
|
|
<TestCommandLines Include="ulimit -Sn 4096" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="SelectedSitesTest.txt">
|
|
<Link>SelectedSitesTest.txt</Link>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
</Project>
|