Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit cf46838

Browse files
committed
Update ServiceStack.Redis.Source.csproj
1 parent b0fefb5 commit cf46838

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/ServiceStack.Redis/ServiceStack.Redis.Source.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@
1313
<GenerateDocumentationFile>false</GenerateDocumentationFile>
1414
</PropertyGroup>
1515
<!-- TODO: talk about TFMs; Microsoft.Bcl.AsyncInterfaces starts at net461 -->
16+
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
17+
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
18+
</PropertyGroup>
1619
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
17-
<DefineConstants>$(DefineConstants);ASYNC_MEMORY</DefineConstants>
20+
<DefineConstants>$(DefineConstants);ASYNC_MEMORY;NETCORE</DefineConstants>
21+
</PropertyGroup>
22+
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
23+
<DefineConstants>$(DefineConstants);ASYNC_MEMORY;NETCORE;NET6_0</DefineConstants>
1824
</PropertyGroup>
1925
<ItemGroup Condition="'$(TargetFramework)'=='net45'">
2026
<Compile Remove="**/*.Async.cs" />

0 commit comments

Comments
 (0)