chg SQLitePCL.Batteries.Init() to SQLitePCL.Batteries_V2.Init(), which requires SQLitePCL.raw 1.1.0

This commit is contained in:
Eric Sink 2016-10-03 12:11:21 -05:00
Родитель 38a5ae07c8
Коммит a71fe0d6f6
4 изменённых файлов: 16 добавлений и 13 удалений

Просмотреть файл

@ -56,14 +56,17 @@
<Reference Include="SQLitePCL.raw">
<HintPath>..\..\packages\SQLitePCL.raw.0.9.2\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCL.raw.dll</HintPath>
</Reference>
<Reference Include="SQLitePCL.batteries">
<HintPath>..\..\packages\SQLitePCL.bundle_green.0.9.2\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCL.batteries.dll</HintPath>
<Reference Include="SQLitePCLRaw.batteries, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8226ea5df37bcae9, processorArchitecture=MSIL">
<HintPath>packages\SQLitePCLRaw.bundle_green.1.1.0\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCLRaw.batteries.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="SQLitePCLRaw.core">
<HintPath>..\..\packages\SQLitePCLRaw.core.1.0.1\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCLRaw.core.dll</HintPath>
<Reference Include="SQLitePCLRaw.batteries_green, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a84b7dcfb1391f7f, processorArchitecture=MSIL">
<HintPath>packages\SQLitePCLRaw.bundle_green.1.1.0\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCLRaw.batteries_green.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="SQLitePCLRaw.batteries_green">
<HintPath>..\..\packages\SQLitePCLRaw.bundle_green.1.0.1\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCLRaw.batteries_green.dll</HintPath>
<Reference Include="SQLitePCLRaw.core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1488e028ca7ab535, processorArchitecture=MSIL">
<HintPath>packages\SQLitePCLRaw.core.1.1.0\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid10+MonoTouch10+Xamarin.iOS10\SQLitePCLRaw.core.dll</HintPath>
<Private>True</Private>
</Reference>
</ItemGroup>
<ItemGroup>
@ -77,4 +80,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>

Просмотреть файл

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="SQLitePCLRaw.bundle_green" version="1.0.1" targetFramework="portable45-net45+win8+wp8+wpa81" />
<package id="SQLitePCLRaw.core" version="1.0.1" targetFramework="portable45-net45+win8+wp8+wpa81" />
<package id="SQLitePCLRaw.bundle_green" version="1.1.0" targetFramework="portable45-net45+win8+wp8+wpa81" />
<package id="SQLitePCLRaw.core" version="1.1.0" targetFramework="portable45-net45+win8+wp8+wpa81" />
</packages>

Просмотреть файл

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<version>1.2.0</version>
<version>1.2.1</version>
<authors>Frank A. Krueger</authors>
<owners>Frank A. Krueger</owners>
<licenseUrl>https://raw.githubusercontent.com/praeclarum/sqlite-net/master/LICENSE.md</licenseUrl>
@ -16,11 +16,11 @@
<tags>sqlite pcl database orm </tags>
<releaseNotes>
<![CDATA[
v1.2.0: Update .raw to bundle_green 1.0.1
v1.2.1: Update .raw to bundle_green 1.1.0
]]>
</releaseNotes>
<dependencies>
<dependency id="SQLitePCLRaw.bundle_green" version="1.0.1" />
<dependency id="SQLitePCLRaw.bundle_green" version="1.1.0" />
</dependencies>
</metadata>
<files>

Просмотреть файл

@ -168,7 +168,7 @@ namespace SQLite
#if USE_SQLITEPCL_RAW
static SQLiteConnection()
{
SQLitePCL.Batteries.Init();
SQLitePCL.Batteries_V2.Init();
}
#endif