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

Commit 7769dbd

Browse files
committed
add build symbol to .csproj's
1 parent 60698df commit 7769dbd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<GenerateDocumentationFile>false</GenerateDocumentationFile>
1414
</PropertyGroup>
1515
<!-- TODO: talk about TFMs; Microsoft.Bcl.AsyncInterfaces starts at net461 -->
16+
<PropertyGroup Condition="'$(TargetFramework)' == 'net472'">
17+
<DefineConstants>$(DefineConstants);ASYNC_MEMORY</DefineConstants>
18+
</PropertyGroup>
1619
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
1720
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
1821
</PropertyGroup>
@@ -34,7 +37,7 @@
3437
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
3538
<Reference Include="System.Net" />
3639
</ItemGroup>
37-
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
40+
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
3841
<Reference Include="System.Net" />
3942
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" />
4043
</ItemGroup>

src/ServiceStack.Redis/ServiceStack.Redis.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
<PackageTags>Redis;NoSQL;Client;Distributed;Cache;PubSub;Messaging;Transactions</PackageTags>
1313
</PropertyGroup>
1414
<!-- TODO: talk about TFMs; Microsoft.Bcl.AsyncInterfaces starts at net461 -->
15+
<PropertyGroup Condition="'$(TargetFramework)' == 'net472'">
16+
<DefineConstants>$(DefineConstants);ASYNC_MEMORY</DefineConstants>
17+
</PropertyGroup>
1518
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
1619
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
1720
</PropertyGroup>

0 commit comments

Comments
 (0)