From 316500dca40f7d861af394d6db27f14302255622 Mon Sep 17 00:00:00 2001 From: abeloin Date: Wed, 25 Dec 2013 19:40:53 -0500 Subject: [PATCH] -Replaced Mono.Data.SQLite by System.Data.SQLite(ManagedOnly) -Added System.Data.SQLite and Sqlite3 into ThirdParty -Depending of the OS, System.Data.SQLite will look for: sqlite3.dll in Windows(Provided with the project) libsqlite3.so.0 in Linux(Need to be installed. ie yum install sqlite.i686) libsqlite3.dylib in MacOS X(!?) (See http://www.mono-project.com/Interop_with_Native_Libraries for more info) --- ...MediaBrowser.Server.Implementations.csproj | 20 +++++++++++++++---- .../Persistence/SqliteExtensions.cs | 18 +---------------- .../MediaBrowser.Server.Mono.csproj | 7 +++++-- 3 files changed, 22 insertions(+), 23 deletions(-) diff --git a/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj b/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj index efc1549bc..3b20784fc 100644 --- a/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj +++ b/MediaBrowser.Server.Implementations/MediaBrowser.Server.Implementations.csproj @@ -48,9 +48,6 @@ ..\packages\Alchemy.2.2.1\lib\net40\Alchemy.dll - - ..\ThirdParty\Mono.Data.Sqlite\Mono.Data.Sqlite.dll - ..\ThirdParty\ServiceStack\ServiceStack.Api.Swagger.dll @@ -67,9 +64,14 @@ ..\packages\MediaBrowser.BdInfo.1.0.0.5\lib\net20\BDInfo.dll - + + False ..\packages\System.Data.SQLite.x86.1.0.89.0\lib\net45\System.Data.SQLite.dll + + False + ..\ThirdParty\System.Data.SQLite.ManagedOnly\x86\1.0.90.0\net40\System.Data.SQLite.dll + ..\ThirdParty\ServiceStack\ServiceStack.dll @@ -346,6 +348,16 @@ + + + System.Data.SQLite.dll + PreserveNewest + + + System.Data.SQLite.Linq.dll + PreserveNewest + +