2
2
<PropertyGroup >
3
3
<PackageId >ServiceStack.Redis</PackageId >
4
4
<AssemblyName >ServiceStack.Redis</AssemblyName >
5
- <TargetFrameworks >net45;netstandard2.0</TargetFrameworks >
5
+ <TargetFrameworks >net45;net472; netstandard2.0;netstandard2.1 </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.
11
11
</PackageDescription >
12
12
<PackageTags >Redis;NoSQL;Client;Distributed;Cache;PubSub;Messaging;Transactions</PackageTags >
13
13
</PropertyGroup >
14
+ <!-- TODO: talk about TFMs; Microsoft.Bcl.AsyncInterfaces starts at net461 -->
15
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard2.1'" >
16
+ <DefineConstants >$(DefineConstants);ASYNC_MEMORY</DefineConstants >
17
+ </PropertyGroup >
18
+ <ItemGroup Condition =" '$(TargetFramework)'=='net45'" >
19
+ <Compile Remove =" **/*.Async.cs" />
20
+ <Compile Remove =" AsyncInterfaces/**/*.cs" />
21
+ <None Include =" **/*.Async.cs" />
22
+ <None Include =" AsyncInterfaces/**/*.cs" />
23
+ </ItemGroup >
14
24
<ItemGroup >
15
25
<ProjectReference Include =" ..\..\..\ServiceStack\src\ServiceStack.Common\ServiceStack.Common.Source.csproj" />
16
26
</ItemGroup >
17
27
<ItemGroup Condition =" '$(TargetFramework)' == 'net45' " >
18
28
<Reference Include =" System.Net" />
29
+ </ItemGroup >
30
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net472' " >
31
+ <Reference Include =" System.Net" />
32
+ <PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 1.1.0" />
19
33
</ItemGroup >
20
34
<ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " >
21
35
<PackageReference Include =" System.Net.Security" Version =" 4.3.2" />
24
38
<PackageReference Include =" System.Net.NameResolution" Version =" 4.3.0" />
25
39
<PackageReference Include =" System.Data.Common" Version =" 4.3.0" />
26
40
<PackageReference Include =" System.Threading.Thread" Version =" 4.3.0" />
41
+
42
+ <!-- note: not needed from netstandard2.1 or netcoreapp3.0 onwards -->
43
+ <PackageReference Include =" Microsoft.Bcl.AsyncInterfaces" Version =" 1.1.0" />
27
44
</ItemGroup >
28
45
29
46
</Project >
0 commit comments