/
Transports.AspNetCore.Tests.csproj
53 lines (48 loc) · 2.53 KB
/
Transports.AspNetCore.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
45
46
47
48
49
50
51
52
53
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../../Tests.props" />
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' != 'true'">
<TargetFrameworks>netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
</PropertyGroup>
<PropertyGroup Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">
<TargetFrameworks>net48;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
</PropertyGroup>
<PropertyGroup Condition="'$(SingleTestPlatform)' == 'true'">
<TargetFrameworks>net8.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="GraphQL.SystemTextJson" Version="$(GraphQLVersion)" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="2.1.*" Condition="'$(TargetFramework)' == 'net48' OR '$(TargetFramework)' == 'netcoreapp2.1'" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\samples\Samples.Schemas.Chat\Samples.Schemas.Chat.csproj" />
<ProjectReference Include="..\..\src\Transports.AspNetCore\Transports.AspNetCore.csproj" />
</ItemGroup>
<ItemGroup>
<Using Include="GraphQL" />
<Using Include="GraphQL.DI" />
<Using Include="GraphQL.MicrosoftDI" />
<Using Include="GraphQL.Transport" />
<Using Include="GraphQL.Types" />
<Using Include="GraphQL.Samples.Schemas.Chat" Alias="Chat" />
<Using Include="GraphQL.Server" />
<Using Include="GraphQL.Server.Transports.AspNetCore" />
<Using Include="GraphQL.Server.Transports.AspNetCore.WebSockets" />
<Using Include="GraphQL.SystemTextJson" />
<Using Include="Microsoft.AspNetCore.Builder" />
<Using Include="Microsoft.AspNetCore.Hosting" />
<Using Include="Microsoft.AspNetCore.Http" />
<Using Include="Microsoft.AspNetCore.TestHost" />
<Using Include="Microsoft.Extensions.DependencyInjection" />
<Using Include="Microsoft.Extensions.Hosting" />
<Using Include="Moq" />
<Using Include="Moq.Protected" />
<Using Include="Shouldly" />
<Using Include="System.Net.Http"/>
<Using Include="System.Text" />
<Using Include="System.Threading" />
<Using Include="System.Threading.Tasks" />
<Using Include="Xunit" />
</ItemGroup>
</Project>