mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-25 10:58:20 -10:00
And fix a small bug discovered from this, lack of argument validation when setting the enum value. Commit migrated from https://github.com/dotnet/corefx/commit/483aa5a3012fe78ea001ece1b0404b18c0b90a29
126 lines
6.4 KiB
XML
126 lines
6.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition="'$(Configuration)'==''">Windows_Debug</Configuration>
|
|
</PropertyGroup>
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Windows_Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{C85CF035-7804-41FF-9557-48B7C948B58D}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AssemblyName>System.Net.Http.Functional.Tests</AssemblyName>
|
|
<KeepAllProjectReferences>true</KeepAllProjectReferences>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(TargetsWindows)' == 'true' and '$(ProjectJson)' == '' ">
|
|
<ProjectJson>win/project.json</ProjectJson>
|
|
<ProjectLockJson>win/project.lock.json</ProjectLockJson>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(TargetsUnix)' == 'true' and '$(ProjectJson)' == '' ">
|
|
<ProjectJson>unix/project.json</ProjectJson>
|
|
<ProjectLockJson>unix/project.lock.json</ProjectLockJson>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Unix_Debug|AnyCPU'" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Unix_Release|AnyCPU'" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Windows_Debug|AnyCPU'" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Windows_Release|AnyCPU'" />
|
|
<ItemGroup>
|
|
<Compile Include="$(CommonTestPath)\System\PlatformDetection.cs">
|
|
<Link>Common\System\PlatformDetection.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Diagnostics\RemoteExecutorTestBase.cs">
|
|
<Link>Common\System\Diagnostics\RemoteExecutorTestBase.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Diagnostics\Tracing\TestEventListener.cs">
|
|
<Link>Common\System\Diagnostics\Tracing\TestEventListener.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\IO\DelegateStream.cs">
|
|
<Link>Common\System\IO\DelegateStream.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\IO\FileCleanupTestBase.cs">
|
|
<Link>Common\System\IO\FileCleanupTestBase.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\CertificateConfiguration.cs">
|
|
<Link>Common\System\Net\CertificateConfiguration.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\EventSourceTestLogging.cs">
|
|
<Link>Common\System\Net\EventSourceTestLogging.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\HttpTestServers.cs">
|
|
<Link>Common\System\Net\HttpTestServers.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\SchSendAuxRecordTestServer.cs">
|
|
<Link>Common\System\Net\SchSendAuxRecordTestServer.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(CommonTestPath)\System\Net\TestSettings.cs">
|
|
<Link>Common\System\Net\TestSettings.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\LoopbackServer.cs">
|
|
<Link>Common\System\Net\Http\LoopbackServer.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="CancellationTest.cs" />
|
|
<Compile Include="ChannelBindingAwareContent.cs" />
|
|
<Compile Include="CustomContent.cs" />
|
|
<Compile Include="DelegatingHandlerTest.cs" />
|
|
<Compile Include="FakeDiagnosticSourceListenerObserver.cs" />
|
|
<Compile Include="FormUrlEncodedContentTest.cs" />
|
|
<Compile Include="HttpClientHandlerTest.cs" />
|
|
<Compile Include="HttpClientHandlerTest.ClientCertificates.cs" />
|
|
<Compile Include="HttpClientHandlerTest.DefaultProxyCredentials.cs" />
|
|
<Compile Include="HttpClientHandlerTest.MaxConnectionsPerServer.cs" />
|
|
<Compile Include="HttpClientHandlerTest.MaxResponseHeadersLength.cs" />
|
|
<Compile Include="HttpClientHandlerTest.ServerCertificates.cs" />
|
|
<Compile Include="HttpClientHandlerTest.SslProtocols.cs" />
|
|
<Compile Include="HttpClientTest.cs" />
|
|
<Compile Include="HttpClientMiniStressTest.cs" />
|
|
<Compile Include="HttpContentTest.cs" />
|
|
<Compile Include="HttpMessageInvokerTest.cs" />
|
|
<Compile Include="HttpMethodTest.cs" />
|
|
<Compile Include="HttpRequestMessageTest.cs" />
|
|
<Compile Include="HttpResponseMessageTest.cs" />
|
|
<Compile Include="LoopbackGetRequestHttpProxy.cs" />
|
|
<Compile Include="MessageProcessingHandlerTest.cs" />
|
|
<Compile Include="MultipartContentTest.cs" />
|
|
<Compile Include="MultipartFormDataContentTest.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="XunitTestAssemblyAttributes.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition=" '$(TargetsWindows)' == 'true' ">
|
|
<Compile Include="DefaultCredentialsTest.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\System.Net.Http.csproj">
|
|
<Project>{1D422B1D-D7C4-41B9-862D-EB3D98DF37DE}</Project>
|
|
<Name>System.Net.Http</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="$(CommonTestPath)\System\Diagnostics\RemoteExecutorConsoleApp\RemoteExecutorConsoleApp.csproj">
|
|
<Project>{69e46a6f-9966-45a5-8945-2559fe337827}</Project>
|
|
<Name>RemoteExecutorConsoleApp</Name>
|
|
<OSGroup>$(InputOSGroup)</OSGroup>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<SupplementalTestData Include="$(PackagesDir)System.Net.TestData\1.0.0-prerelease\content\**\*.*" />
|
|
</ItemGroup>
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
|
</Project>
|