Skip to content

Commit c630986

Browse files
author
Gilad Levi
committed
blah
1 parent c0a67ea commit c630986

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

RocksDbNative/RocksDbNative.csproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="..\Versions.targets.include"/>
33
<PropertyGroup>
44
<Title>RocksDbNative</Title>
5-
<TargetFrameworks>netstandard1.6</TargetFrameworks>
5+
<TargetFrameworks>netstandard1.6;net40;net45</TargetFrameworks>
66
<Version>$(RocksDbVersion).$(RocksDbNativeBuild)</Version>
77
<AssemblyVersion>$(Version)</AssemblyVersion>
88
<FileVersion>$(Version)</FileVersion>
@@ -54,6 +54,15 @@
5454
<Pack>true</Pack>
5555
<PackagePath>runtimes/win-x64/native</PackagePath>
5656
</None>
57+
58+
<None Include="build\net40\RocksDbNative.targets">
59+
<Pack>true</Pack>
60+
<PackagePath>build/net40</PackagePath>
61+
</None>
62+
<None Include="build\net45\RocksDbNative.targets">
63+
<Pack>true</Pack>
64+
<PackagePath>build/net45</PackagePath>
65+
</None>
5766

5867
</ItemGroup>
5968
</Project>

RocksDbSharp/RocksDbSharp.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="..\Versions.targets.include"/>
33
<PropertyGroup>
44
<Title>RocksDbSharp</Title>
5-
<TargetFrameworks>netstandard1.6</TargetFrameworks>
5+
<TargetFrameworks>netstandard1.6;net40;net45</TargetFrameworks>
66
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
77
<Version>$(RocksDbVersion).$(RocksDbSharpBuild)</Version>
88
<AssemblyVersion>$(Version)</AssemblyVersion>
@@ -31,6 +31,10 @@
3131
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
3232
<DefineConstants>TRACE</DefineConstants>
3333
</PropertyGroup>
34+
35+
<ItemGroup Condition="'$(TargetFramework)' == 'net40'">
36+
<Reference Include="Microsoft.CSharp" />
37+
</ItemGroup>
3438

3539
<!-- Move all packages here that complain about compatibility with net40 -->
3640
<ItemGroup Condition="'$(TargetFramework)' != 'net40'">

0 commit comments

Comments
 (0)