-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathInfinityCrawler.Tests.csproj
44 lines (37 loc) · 1.75 KB
/
InfinityCrawler.Tests.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net461;netcoreapp3.1;net5.0;net6.0;</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.3" />
</ItemGroup>
<Choose>
<When Condition="$(TargetFramework) == 'net6.0'">
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.TraceSource" Version="6.0.0" />
</ItemGroup>
</When>
<Otherwise>
<ItemGroup>
<!-- These are the highest versions that are compatible with all other target frameworks -->
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.1.22" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.1.22" />
<PackageReference Include="Microsoft.Extensions.Logging.TraceSource" Version="3.1.22" />
</ItemGroup>
</Otherwise>
</Choose>
<ItemGroup>
<ProjectReference Include="..\..\src\InfinityCrawler\InfinityCrawler.csproj" />
<ProjectReference Include="..\InfinityCrawler.Tests.TestSite\InfinityCrawler.Tests.TestSite.csproj" />
</ItemGroup>
</Project>