2
2
<PropertyGroup >
3
3
<!--
4
4
TFM choice reasons:
5
- - net46 is .NET Framework without async
5
+ - net472 is .NET Framework without async
6
6
- net472 is .NET Framework with async
7
7
- netcoreapp2.1 is .NET Core with async, but without some features like memory/stream APIs
8
8
- net5.0 is .NET Core with all the bells and whistles
9
9
-->
10
- <TargetFrameworks >net46; net472;netcoreapp2.1;net5 .0</TargetFrameworks >
10
+ <TargetFrameworks >net472;net6 .0</TargetFrameworks >
11
11
<DebugType >portable</DebugType >
12
12
<AssemblyName >ServiceStack.Redis.Tests</AssemblyName >
13
13
<OutputType >Library</OutputType >
29
29
<PackageReference Include =" System.Memory" Version =" 4.5.4" />
30
30
<PackageReference Include =" ServiceStack" Version =" $(Version)" />
31
31
</ItemGroup >
32
- <PropertyGroup Condition =" '$(TargetFramework)' == 'net46 ' " >
32
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net472 ' " >
33
33
<DefineConstants >$(DefineConstants);NET45</DefineConstants >
34
34
</PropertyGroup >
35
- <ItemGroup Condition =" '$(TargetFramework)'=='net46 '" >
35
+ <ItemGroup Condition =" '$(TargetFramework)'=='net472 '" >
36
36
<Compile Remove =" **/*.Async.cs" />
37
37
<None Include =" **/*.Async.cs" />
38
38
</ItemGroup >
39
- <PropertyGroup Condition =" '$(TargetFramework)' == 'netcoreapp2.1' or '$(TargetFramework)' == 'net5 .0'" >
39
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net6 .0'" >
40
40
<DefineConstants >$(DefineConstants);NETCORE</DefineConstants >
41
41
</PropertyGroup >
42
- <ItemGroup Condition =" '$(TargetFramework)' == 'net46 ' " >
42
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net472 ' " >
43
43
<Reference Include =" System.Configuration" />
44
44
<Reference Include =" System.Threading" />
45
45
<Reference Include =" System.Threading.Tasks" />
49
49
<Reference Include =" System.Web.Extensions" />
50
50
<Reference Include =" Microsoft.CSharp" />
51
51
</ItemGroup >
52
- <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp2.1 ' " >
52
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net6.0 ' " >
53
53
<PackageReference Include =" Microsoft.Extensions.Primitives" Version =" 2.2.0" />
54
54
</ItemGroup >
55
55
</Project >
0 commit comments