2
2
<PropertyGroup >
3
3
<PackageId >ServiceStack.Redis</PackageId >
4
4
<AssemblyName >ServiceStack.Redis</AssemblyName >
5
- <TargetFrameworks >net472 ;net6.0</TargetFrameworks >
5
+ <TargetFrameworks >netstandard2.0 ;net6.0</TargetFrameworks >
6
6
<Title >C# Redis client for the Redis NoSQL DB</Title >
7
7
<PackageDescription >
8
8
C# Redis Client for the worlds fastest distributed NoSQL datastore.
13
13
<GenerateDocumentationFile >false</GenerateDocumentationFile >
14
14
</PropertyGroup >
15
15
<!-- TODO: talk about TFMs; Microsoft.Bcl.AsyncInterfaces starts at net461 -->
16
- <PropertyGroup Condition =" '$(TargetFramework)' == 'net472'" >
17
- <DefineConstants >$(DefineConstants);NET472</DefineConstants >
18
- </PropertyGroup >
19
- <PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard2.0'" >
20
- <DefineConstants >$(DefineConstants);NETCORE</DefineConstants >
21
- </PropertyGroup >
22
16
<PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard2.1'" >
23
- <DefineConstants >$(DefineConstants);ASYNC_MEMORY;NETCORE </DefineConstants >
17
+ <DefineConstants >$(DefineConstants);ASYNC_MEMORY</DefineConstants >
24
18
</PropertyGroup >
25
19
<PropertyGroup Condition =" '$(TargetFramework)' == 'net6.0'" >
26
- <DefineConstants >$(DefineConstants);ASYNC_MEMORY;NETCORE; NET6_0</DefineConstants >
20
+ <DefineConstants >$(DefineConstants);ASYNC_MEMORY;NET6_0</DefineConstants >
27
21
</PropertyGroup >
28
- <ItemGroup Condition =" '$(TargetFramework)'=='net45'" >
29
- <Compile Remove =" **/*.Async.cs" />
30
- <Compile Remove =" AsyncInterfaces/**/*.cs" />
31
- <None Include =" **/*.Async.cs" />
32
- <None Include =" AsyncInterfaces/**/*.cs" />
33
- </ItemGroup >
34
22
<ItemGroup >
35
23
<ProjectReference Include =" ..\..\..\ServiceStack\src\ServiceStack.Common\ServiceStack.Common.Source.csproj" />
36
24
</ItemGroup >
37
- <ItemGroup Condition =" '$(TargetFramework)' == 'net45' " >
38
- <Reference Include =" System.Net" />
39
- </ItemGroup >
40
- <ItemGroup Condition =" '$(TargetFramework)' == 'net472' " >
41
- <Reference Include =" System.Net" />
42
- <PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 5.0.0" />
43
- </ItemGroup >
44
25
<ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " >
45
26
<PackageReference Include =" System.Net.Security" Version =" 4.3.2" />
46
27
<PackageReference Include =" System.Collections.Specialized" Version =" 4.3.0" />
47
28
<PackageReference Include =" System.Collections.NonGeneric" Version =" 4.3.0" />
48
29
<PackageReference Include =" System.Net.NameResolution" Version =" 4.3.0" />
49
30
<PackageReference Include =" System.Data.Common" Version =" 4.3.0" />
50
31
<PackageReference Include =" System.Threading.Thread" Version =" 4.3.0" />
51
-
52
32
<!-- note: not needed from netstandard2.1 or netcoreapp3.0 onwards -->
53
33
<PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 5.0.0" />
54
34
</ItemGroup >
35
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net6.0' " >
36
+ <PackageReference Include =" System.Net.Security" Version =" 4.3.2" />
37
+ <PackageReference Include =" System.Collections.Specialized" Version =" 4.3.0" />
38
+ <PackageReference Include =" System.Collections.NonGeneric" Version =" 4.3.0" />
39
+ <PackageReference Include =" System.Net.NameResolution" Version =" 4.3.0" />
40
+ <PackageReference Include =" System.Data.Common" Version =" 4.3.0" />
41
+ <PackageReference Include =" System.Threading.Thread" Version =" 4.3.0" />
42
+ </ItemGroup >
55
43
56
44
</Project >
0 commit comments