Skip to content

Commit 7b526ab

Browse files
committed
Fix nuget package to include PCL
1 parent 66fedfc commit 7b526ab

File tree

4 files changed

+27
-17
lines changed

4 files changed

+27
-17
lines changed

nuget/SQLite-net/SQLite-net.csproj

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>SQLite_net</RootNamespace>
1212
<AssemblyName>SQLite-net</AssemblyName>
13-
<TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1414
<DefaultLanguage>en-US</DefaultLanguage>
1515
<FileAlignment>512</FileAlignment>
1616
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1717
<ProductVersion>8.0.30703</ProductVersion>
1818
<SchemaVersion>2.0</SchemaVersion>
19+
<TargetFrameworkProfile>Profile259</TargetFrameworkProfile>
1920
</PropertyGroup>
2021
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2122
<DebugSymbols>true</DebugSymbols>
@@ -52,7 +53,18 @@
5253
<Folder Include="Properties\" />
5354
</ItemGroup>
5455
<ItemGroup>
55-
<None Include="project.json" />
56+
<Reference Include="SQLitePCLRaw.core">
57+
<HintPath>..\..\packages\SQLitePCLRaw.core.1.1.2\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCLRaw.core.dll</HintPath>
58+
</Reference>
59+
<Reference Include="SQLitePCLRaw.batteries_green">
60+
<HintPath>..\..\packages\SQLitePCLRaw.bundle_green.1.1.2\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCLRaw.batteries_green.dll</HintPath>
61+
</Reference>
62+
<Reference Include="SQLitePCLRaw.batteries_v2">
63+
<HintPath>..\..\packages\SQLitePCLRaw.bundle_green.1.1.2\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCLRaw.batteries_v2.dll</HintPath>
64+
</Reference>
65+
</ItemGroup>
66+
<ItemGroup>
67+
<None Include="packages.config" />
5668
</ItemGroup>
5769
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
5870
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

nuget/SQLite-net/packages.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="SQLitePCLRaw.bundle_green" version="1.1.2" targetFramework="portable45-net45+win8+wp8+wpa81" />
4+
<package id="SQLitePCLRaw.core" version="1.1.2" targetFramework="portable45-net45+win8+wp8+wpa81" />
5+
</packages>

nuget/SQLite-net/project.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

sqlite-net-pcl.nuspec

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
4-
<version>1.3.0</version>
4+
<version>1.3.1</version>
55
<authors>Frank A. Krueger</authors>
66
<owners>Frank A. Krueger</owners>
77
<licenseUrl>https://raw.githubusercontent.com/praeclarum/sqlite-net/master/LICENSE.md</licenseUrl>
@@ -11,23 +11,27 @@
1111
<title>SQLite-net PCL</title>
1212
<summary>The official portable version of sqlite-net: the easy way to access sqlite from .NET apps.</summary>
1313
<requireLicenseAcceptance>false</requireLicenseAcceptance>
14-
<description>SQLite-net is an open source and light weight library providing easy SQLite database storage for .NET, Mono, and Xamarin applications. This version uses SQLitePCL.raw_basic to provide platform independent versions of SQLite.</description>
14+
<description>SQLite-net is an open source and light weight library providing easy SQLite database storage for .NET, Mono, and Xamarin applications. This version uses SQLitePCLRaw to provide platform independent versions of SQLite.</description>
1515
<tags>sqlite pcl database orm mobile</tags>
1616
<releaseNotes>
1717
<![CDATA[
18-
v1.3.0: Switch to .NET Standard
18+
v1.3.1: Switch to .NET Standard
1919
]]>
2020
</releaseNotes>
2121
<dependencies>
2222
<group>
23-
<dependency id="SQLitePCLRaw.bundle_green" version="1.1.0" />
23+
<dependency id="SQLitePCLRaw.bundle_green" version="1.1.2" />
2424
</group>
2525
<group targetFramework=".NETStandard1.1">
26+
<dependency id="SQLitePCLRaw.bundle_green" version="1.1.2" />
2627
<dependency id="NETStandard.Library" version="1.6.0" />
2728
</group>
2829
</dependencies>
2930
</metadata>
3031
<files>
32+
<file src="nuget/SQLite-net/bin/Release/SQLite-net.dll" target="lib/portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10" />
33+
<file src="nuget/SQLite-net/bin/Release/SQLite-net.dll.mdb" target="lib/portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10" />
34+
<file src="nuget/SQLite-net/bin/Release/SQLite-net.xml" target="lib/portable-net45+wp8+wpa81+win8+MonoAndroid10+MonoTouch10+Xamarin.iOS10" />
3135
<file src="nuget/SQLite-net/bin/Release/SQLite-net.dll" target="lib/netstandard1.1" />
3236
<file src="nuget/SQLite-net/bin/Release/SQLite-net.dll.mdb" target="lib/netstandard1.1" />
3337
<file src="nuget/SQLite-net/bin/Release/SQLite-net.xml" target="lib/netstandard1.1" />

0 commit comments

Comments
 (0)