forked from aspnet/AspNetWebStack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSystem.Net.Http.Formatting.NetCore.Test.csproj
45 lines (39 loc) · 2.43 KB
/
System.Net.Http.Formatting.NetCore.Test.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory),Runtime.sln))\tools\WebStack.settings.targets" />
<PropertyGroup>
<TargetFrameworks>net462;netcoreapp2.1;net6.0</TargetFrameworks>
<RootNamespace>System.Net.Http</RootNamespace>
<OutputPath>..\..\bin\$(Configuration)\Test\NetCore\</OutputPath>
<Configurations>$(Configurations);CodeAnalysis</Configurations>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<DefineConstants>$(DefineConstants);NETFX_CORE</DefineConstants>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!-- Version 2.4.5 does not support netstandard2.1. -->
<_VSRunnerVersion Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">2.4.3</_VSRunnerVersion>
<_VSRunnerVersion Condition=" '$(TargetFramework)' != 'netcoreapp2.1' ">2.4.5</_VSRunnerVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.IO.Pipelines" Version="4.7.5" />
<PackageReference Include="System.Net.Http" Version="4.3.4"
Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' " />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.analyzers" Version="1.1.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="$(_VSRunnerVersion)">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="XunitXml.TestLogger" Version="3.0.70" />
<Compile Include="..\System.Net.Http.Formatting.Test\**\*.cs"
Exclude="..\System.Net.Http.Formatting.Test\obj\**\*.cs;
..\System.Net.Http.Formatting.Test\Formatting\BufferedMediaTypeFormatterTests.cs;
..\System.Net.Http.Formatting.Test\Handlers\ProgressWriteAsyncResultTest.cs">
<Link>%(RecursiveDir)\%(Filename).cs</Link>
</Compile>
<ProjectReference Include="..\..\src\System.Net.Http.Formatting.NetCore\System.Net.Http.Formatting.NetCore.csproj" />
<ProjectReference Include="..\Microsoft.TestCommon\Microsoft.TestCommon.csproj" Properties="NetFX_Core=true" />
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
</Project>