SQLitePCL.raw icon indicating copy to clipboard operation
SQLitePCL.raw copied to clipboard

How to achieve manual "bundling"?

Open tinmanjk opened this issue 4 years ago • 1 comments

Following the documentation: _But the word "whatever" is different on each platform. For example, on Android, using e_sqlite3, you need:

SQLitePCLRaw.core
SQLitePCLRaw.provider.e_sqlite3.android
SQLitePCLRaw.lib.e_sqlite3.android

and you need to call:

SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_e_sqlite3());_

I created a console application targeting 4.7.2 Framework. I added the 3 nugget packages - core/provider/lib - provider and lib having identical names - so should be able to play together.

However I get this: image

tinmanjk avatar Dec 18 '20 04:12 tinmanjk

You might want to explain why you want to do manual bundling instead of using the provided bundles.

The fact that the provider and lib have identical base names is not a sign that they should be able to play together.

The best way to figure out how to make a manual bundle for a given platform is to study how the provided bundles work and how they implement that platform.

And BTW, PackageReference is so much better than packages.config. :-)

ericsink avatar Dec 31 '20 17:12 ericsink

Closing old/stale issue.

ericsink avatar Sep 22 '22 21:09 ericsink