Skip to content

Commit f78d39e

Browse files
committed
Update test target frameworks
1 parent 82908c2 commit f78d39e

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

test/Directory.Build.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
<OutputType>Exe</OutputType>
44
<IsPackable>False</IsPackable>
55
<LangVersion>9.0</LangVersion>
6-
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
6+
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
77
</PropertyGroup>
88

99
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
10-
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="3.1.0" />
10+
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="3.1.23" />
1111
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1212
</ItemGroup>
1313

14-
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
15-
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="5.0.4" />
14+
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
15+
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="6.0.3" />
1616
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.3.0" />
20+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
2121
<PackageReference Include="xunit" Version="2.4.1" />
2222
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
2323
</ItemGroup>

test/ProblemDetails.Tests/ProblemDetails.Tests.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<AssemblyName>Hellang.Middleware.ProblemDetails.Tests</AssemblyName>
44
<RootNamespace>ProblemDetails.Tests</RootNamespace>
5-
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
65
</PropertyGroup>
76

87
<ItemGroup>

test/RateLimiting.Tests/RateLimiting.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<AssemblyName>Hellang.Middleware.RateLimiting.Tests</AssemblyName>
44
<RootNamespace>RateLimiting.Tests</RootNamespace>

0 commit comments

Comments
 (0)