Skip to content

Commit 602d43d

Browse files
committed
Poort attempt of adding System.Runtime.Caching
1 parent 1112515 commit 602d43d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Projac.Recipes/Projac.Recipes.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<AssemblyName>Projac.Recipes</AssemblyName>
55
<AssemblyTitle>Projac.Recipes</AssemblyTitle>
6-
<TargetFrameworks Condition="'$(OS)' == 'Unix'">netstandard2.0</TargetFrameworks>
6+
<TargetFrameworks Condition="'$(OS)' == 'Unix'">netcoreapp2.0</TargetFrameworks>
77
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net46</TargetFrameworks>
88
<PlatformTarget>AnyCPU</PlatformTarget>
99
<RootNamespace>Projac.Recipes</RootNamespace>
@@ -41,14 +41,17 @@
4141
<ProjectReference Include="..\Projac.SqlClient\Projac.SqlClient.csproj" />
4242
<ProjectReference Include="..\Projac.SQLite\Projac.SQLite.csproj" />
4343
</ItemGroup>
44-
<ItemGroup>
44+
<ItemGroup Condition=" '$(TargetFramework)' == 'net452' Or '$(TargetFramework)' == 'net46' ">
4545
<Reference Include="System" />
4646
<Reference Include="System.Core" />
4747
<Reference Include="System.Configuration" />
4848
<Reference Include="System.Data" />
4949
<Reference Include="System.Runtime.Caching" />
5050
<Reference Include="Microsoft.CSharp" />
5151
</ItemGroup>
52+
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
53+
<PackageReference Include="System.Runtime.Caching" Version="4.5.0-preview1-25914-04" />
54+
</ItemGroup>
5255
<ItemGroup>
5356
<PackageReference Include="CompareNETObjects" Version="3.09.0.0" />
5457
<PackageReference Include="ElasticSearch.Net" Version="5.5.0" />

0 commit comments

Comments
 (0)