Skip to content

Commit dea69dc

Browse files
committed
Update test projects to v4.7.2 / net5.0
1 parent 45ff22b commit dea69dc

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

tests/ServiceStack.Redis.Benchmark/ServiceStack.Redis.Benchmark.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>netcoreapp3.1;net472</TargetFrameworks>
5+
<TargetFrameworks>net5.0;net472</TargetFrameworks>
66
<LangVersion>8</LangVersion>
77
</PropertyGroup>
88
<ItemGroup>

tests/ServiceStack.Redis.Tests.Sentinel/ServiceStack.Redis.Tests.Sentinel.csproj

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp2.1;net45</TargetFrameworks>
4+
<TargetFrameworks>net472;net5.0</TargetFrameworks>
55
<DebugType>portable</DebugType>
66
<AssemblyName>ServiceStack.Redis.Tests.Sentinel</AssemblyName>
77
<OutputType>Library</OutputType>
@@ -27,11 +27,11 @@
2727
<PackageReference Include="ServiceStack" Version="$(Version)" />
2828
</ItemGroup>
2929

30-
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' ">
30+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net472' ">
3131
<DefineConstants>$(DefineConstants);NET45</DefineConstants>
3232
</PropertyGroup>
3333

34-
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
34+
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
3535
<Reference Include="System.Configuration" />
3636
<Reference Include="System.Threading" />
3737
<Reference Include="System.Threading.Tasks" />
@@ -41,11 +41,11 @@
4141
<Reference Include="Microsoft.CSharp" />
4242
</ItemGroup>
4343

44-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
44+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net5.0' ">
4545
<DefineConstants>$(DefineConstants);NETCORE_SUPPORT;NETCORE</DefineConstants>
4646
</PropertyGroup>
4747

48-
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
48+
<ItemGroup Condition=" '$(TargetFramework)' == 'net5.0' ">
4949
<PackageReference Include="Microsoft.Extensions.Primitives" Version="2.1.1" />
5050
</ItemGroup>
5151

tests/ServiceStack.Redis.Tests/ServiceStack.Redis.Tests.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
- net46 is .NET Framework without async
66
- net472 is .NET Framework with async
77
- netcoreapp2.1 is .NET Core with async, but without some features like memory/stream APIs
8-
- netcoreapp3.1 is .NET Core with all the bells and whistles
8+
- net5.0 is .NET Core with all the bells and whistles
99
-->
10-
<TargetFrameworks>net46;net472;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
10+
<TargetFrameworks>net46;net472;netcoreapp2.1;net5.0</TargetFrameworks>
1111
<DebugType>portable</DebugType>
1212
<AssemblyName>ServiceStack.Redis.Tests</AssemblyName>
1313
<OutputType>Library</OutputType>
@@ -36,7 +36,7 @@
3636
<Compile Remove="**/*.Async.cs" />
3737
<None Include="**/*.Async.cs" />
3838
</ItemGroup>
39-
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1' or '$(TargetFramework)' == 'netcoreapp3.1'">
39+
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1' or '$(TargetFramework)' == 'net5.0'">
4040
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
4141
</PropertyGroup>
4242
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">

0 commit comments

Comments
 (0)