Skip to content

Commit c17d201

Browse files
committed
修正测试。
1 parent 2d49517 commit c17d201

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

Tests/MQTTnet.AspNetCore.Routing.Tests/MQTTnet.AspNetCore.Routing.Tests.csproj

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net461;net5.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0</TargetFrameworks>
55

66
<IsPackable>false</IsPackable>
77
<AssemblyName>MQTTnet.AspNetCore.Routing.Tests</AssemblyName>
@@ -10,21 +10,10 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.1" />
1414
<PackageReference Include="MSTest.TestAdapter" Version="2.2.10" />
1515
<PackageReference Include="MSTest.TestFramework" Version="2.2.10" />
1616
</ItemGroup>
17-
18-
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
19-
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.2.7" />
20-
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.2.0" />
21-
</ItemGroup>
22-
23-
<ItemGroup Condition=" '$(TargetFramework)' != 'netcoreapp3.1' ">
24-
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.1.1" />
25-
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.1.1" />
26-
</ItemGroup>
27-
2817
<ItemGroup>
2918
<ProjectReference Include="..\..\Source\MQTTnet.AspNetCore.Routing.csproj" />
3019
</ItemGroup>

0 commit comments

Comments
 (0)