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

Commit 7ad6242

Browse files
committed
update projs
1 parent 6c88eb6 commit 7ad6242

4 files changed

Lines changed: 17 additions & 13 deletions

File tree

src/ServiceStack.Redis.sln

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{38F69F8F
1010
..\build\build.tasks = ..\build\build.tasks
1111
..\build\copy.bat = ..\build\copy.bat
1212
..\README.md = ..\README.md
13-
..\NuGet\ServiceStack.Redis.Core\servicestack.redis.core.nuspec = ..\NuGet\ServiceStack.Redis.Core\servicestack.redis.core.nuspec
14-
..\NuGet\ServiceStack.Redis\servicestack.redis.nuspec = ..\NuGet\ServiceStack.Redis\servicestack.redis.nuspec
1513
Directory.Build.props = Directory.Build.props
14+
ServiceStack.Redis\ServiceStack.Redis.Core.csproj = ServiceStack.Redis\ServiceStack.Redis.Core.csproj
1615
EndProjectSection
1716
EndProject
1817
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServiceStack.Redis", "ServiceStack.Redis\ServiceStack.Redis.csproj", "{AF99F19B-4C04-4F58-81EF-B092F1FCC540}"

src/ServiceStack.Redis/ServiceStack.Redis.Core.csproj

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@
1111
</PackageDescription>
1212
<PackageTags>Redis;NoSQL;Client;Distributed;Cache;PubSub;Messaging;Transactions</PackageTags>
1313
</PropertyGroup>
14+
<ItemGroup>
15+
<PackageReference Include="ServiceStack.Common" Version="$(Version)" />
16+
</ItemGroup>
1417
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
1518
<Reference Include="System.Net" />
16-
<Reference Include="..\..\lib\net45\ServiceStack.Interfaces.dll" />
17-
<Reference Include="..\..\lib\net45\ServiceStack.Text.dll" />
18-
<Reference Include="..\..\lib\net45\ServiceStack.Common.dll" />
19-
<PackageReference Include="ServiceStack.Common" Version="5.0.0" ExcludeAssets="all" />
2019
</ItemGroup>
2120
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
2221
<PackageReference Include="System.Net.Security" Version="4.3.2" />
@@ -25,9 +24,6 @@
2524
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" />
2625
<PackageReference Include="System.Data.Common" Version="4.3.0" />
2726
<PackageReference Include="System.Threading.Thread" Version="4.3.0" />
28-
<Reference Include="..\..\lib\netstandard2.0\ServiceStack.Interfaces.dll" />
29-
<Reference Include="..\..\lib\netstandard2.0\ServiceStack.Text.dll" />
30-
<Reference Include="..\..\lib\netstandard2.0\ServiceStack.Common.dll" />
31-
<PackageReference Include="ServiceStack.Common" Version="5.0.0" ExcludeAssets="all" />
3227
</ItemGroup>
28+
3329
</Project>

tests/Directory.Build.props

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,16 @@
1010
<DefineConstants>DEBUG</DefineConstants>
1111
</PropertyGroup>
1212

13+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' ">
14+
<DefineConstants>$(DefineConstants);NETFX;NET45</DefineConstants>
15+
</PropertyGroup>
16+
17+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net46' ">
18+
<DefineConstants>$(DefineConstants);NETFX;NET46</DefineConstants>
19+
</PropertyGroup>
20+
21+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
22+
<DefineConstants>$(DefineConstants);NETCORE_SUPPORT;NETCORE</DefineConstants>
23+
</PropertyGroup>
24+
1325
</Project>

tests/ServiceStack.Redis.Tests/ServiceStack.Redis.Tests.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@
3535
<Reference Include="System.Web.Extensions" />
3636
<Reference Include="Microsoft.CSharp" />
3737
</ItemGroup>
38-
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
39-
<DefineConstants>$(DefineConstants);NETCORE_SUPPORT;NETCORE</DefineConstants>
40-
</PropertyGroup>
4138
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
4239
<PackageReference Include="Microsoft.Extensions.Primitives" Version="2.1.1" />
4340
</ItemGroup>

0 commit comments

Comments
 (0)