Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 2ed1d89

Browse files
committed
Update .Source.csproj's to only netstandard/net6
1 parent f898542 commit 2ed1d89

File tree

1 file changed

+11
-23
lines changed

1 file changed

+11
-23
lines changed

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

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<PackageId>ServiceStack.Redis</PackageId>
44
<AssemblyName>ServiceStack.Redis</AssemblyName>
5-
<TargetFrameworks>net472;net6.0</TargetFrameworks>
5+
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
66
<Title>C# Redis client for the Redis NoSQL DB</Title>
77
<PackageDescription>
88
C# Redis Client for the worlds fastest distributed NoSQL datastore.
@@ -13,44 +13,32 @@
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);NET472</DefineConstants>
18-
</PropertyGroup>
19-
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
20-
<DefineConstants>$(DefineConstants);NETCORE</DefineConstants>
21-
</PropertyGroup>
2216
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
23-
<DefineConstants>$(DefineConstants);ASYNC_MEMORY;NETCORE</DefineConstants>
17+
<DefineConstants>$(DefineConstants);ASYNC_MEMORY</DefineConstants>
2418
</PropertyGroup>
2519
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
26-
<DefineConstants>$(DefineConstants);ASYNC_MEMORY;NETCORE;NET6_0</DefineConstants>
20+
<DefineConstants>$(DefineConstants);ASYNC_MEMORY;NET6_0</DefineConstants>
2721
</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>
3422
<ItemGroup>
3523
<ProjectReference Include="..\..\..\ServiceStack\src\ServiceStack.Common\ServiceStack.Common.Source.csproj" />
3624
</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>
4425
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
4526
<PackageReference Include="System.Net.Security" Version="4.3.2" />
4627
<PackageReference Include="System.Collections.Specialized" Version="4.3.0" />
4728
<PackageReference Include="System.Collections.NonGeneric" Version="4.3.0" />
4829
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" />
4930
<PackageReference Include="System.Data.Common" Version="4.3.0" />
5031
<PackageReference Include="System.Threading.Thread" Version="4.3.0" />
51-
5232
<!-- note: not needed from netstandard2.1 or netcoreapp3.0 onwards -->
5333
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="5.0.0" />
5434
</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>
5543

5644
</Project>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /