SQLite.Net-PCL
SQLite.Net-PCL copied to clipboard
Where did SQLite.Net.Platform.XamarinAndroid and SQLite.Net.Platform.XamarinIOS go?
Updated to 3.1.0 from 3.0.5 and can't build now as SQLite.Net.Platform.XamarinAndroid has disappeared from my package list. Suggestions please
I'm having the same problem. I've rolled back to 3.0.5 for now.
Hmm, these nuget packages were removed some time ago. Are you saying that an install of 3.1 does not properly add these packages (when adding to an Android project)?
iOS and Android both have the same issue. Note all I did was UPGRADE the packages and these packages disappeared. I tried removing the SQLite packages and adding them back but the Platform specific packages did not reappear
Hm, I think it might have been a problem with me not updating all version entries in the nuspecs. I've uploaded 3.1.1 now, please test.
I've updated from 3.1.0 to 3.1.1 but the problem still remains.
Ta. I updated to 3.1.1 but it did not add the packages.
@mattleibow Do you know why this could be happening? It's possible that it is caused by the nuget split.
Same here with SQLitePlatformWinRT, nuget: SQLite.Net.Async-PCL. Ok 3.0.5, not working both 3.1.0 and 3.1.1
Problems: using SQLite.Net.Platform.WinRT;
var connectionFactory = new Func<SQLiteConnectionWithLock>(() => new SQLiteConnectionWithLock(new SQLitePlatformWinRT(), new SQLiteConnectionString(databasePath, storeDateTimeAsTicks: false)));
Any news on a solution to this issue? Thanks
Hmm, I'm having trouble reproducing this error. I created class libraries (xamaring ios and android). Installing 3.0.5 and the above code (connectionfactory) works fine. Then I upgraded to 3.1.1 and it still compiles. Do you guys know of a way to cleanly reproduce? Edit: Sorry, managed to repro now:) Edit2: Ok, this is weird, now I can't repro any more.
Have you guys tried to simply uninstall/reinstall all the nugets (including the core one). It seems to me like it always works when installing 3.1.1 (not upgrading).
I've had success removing the previous versions via the NuGet GUI, deleting any folder with 'sqlite' in the packages folder, then adding version 3.1.1 again directly using the NuGet GUI.
My 'fix' was to add the source files directly to the project. Will try tbalcom suggestion
@tbalcom What is the 'NuGet GUI' you refer to?
With NuGet we either get the packages using the console (CLI) or Visual Studio (GUI). The GUI is the one you get when you right-click the Solution in Visual Studio and select 'Manage NuGet Packages for Solution'. The CLI is the one you get when you select (Tools > NuGet Package Manager > Package Manager Console).
Thanks, as I only ever use Xamarin Studio I'll try the Nuget console to see if that does something different to using the XS package manager. As removing all, deleting any sql folders in my packages directory did not fix the issue.
SQLite.Net.Platform not there anymore.
@oysteinkrog I have tried uninstalling all SQLite packages and re-installing them again - Did not resolve the issue.
@mgjhl Did you tried to uninstalling all SQLite packages and reinstalling with this order?
- SQLite.Net.Async-PCL
- SQLite.Net.Platform.XamarinAndroid
it works, at least in my case
I have to do this to work, SQLite.Net.Platform.WinRT.
Working: SQLite.Net.Async PCL 3.0.5 Dependencies: SQLite.Net-PCL
Not working: SQLite.Net.Async PCL 3.1.1 Dependencies: SQLite.Net.Core-PCL
If i install SQLite.Net PCL 3.1.1 (it was a SQLite.Net.Async PCL 3.0.5 dependency), i have SQLite.Net.Platform working again.
I believe SQLite.Net.Platform shoudl be moved from SQLite.Net PCL to SQLite.Net.Core-PCL.
I had the same issue with SQLite.Net.Platform.XamarinIOS. Uninstalled and reinstalled SQLite.net PCL (which installed SQLite.Net-PCL and SQLite.Net.COre-PCL dlls) and then SQLite.Net.Async PCL (which installed SQLite.Net.Async-PCLdll). That solved it.
Any updates on this? I've tried every suggestion and still no SQLite.Net.Platform... Thanks!
Any updates on this? I am trying to use SQLite.Net PCL (3.1.1) in a PCL library created in Visual Studio 2015. NuGet installs the SQLite.NET Core and SQLite.Net PCL but the SQLite.Net.Platform namespace is missing.
It is gone from Nuget... Is there a solution or work around? https://www.nuget.org/packages/SQLite.Net.Platform.XamarinIOS
Yes, install the main package, it will add the needed references.
It still says there's a missing assembly reference when trying to use SQLitePlatform Android and iOS.
This are the packages i'm using. SQLite.Net.Async-PCL 3.1.1 SQLite.Net.Core-PCL 3.1.1
jagl16 Install SQLite.Net-PCL too. All the 3 packages.
Any update?
I am not able to pull down 3.1.1 even after I uninstall in reinstall. I do not get the platform specific packages. Nuget has message on the Xamarin Android and IOS page stating that
The owner has unlisted this package. This could mean that the package is deprecated or shouldn't be used anymore.
https://www.nuget.org/packages/SQLite.Net.Platform.XamarinIOS https://www.nuget.org/packages/SQLite.Net.Platform.XamarinAndroid/
I just started to use REALM and i am happy with the results.
REALM is still a little to new for us right now.
I think there is no need for SQLite.Net.Platform.XamarinAndroid and SQLite.Net.Platform.XamarinIOS, just use the sqlite-net-pcl Nuget package... as in detailed in this link : https://developer.xamarin.com/guides/xamarin-forms/working-with/databases/