I have started a new project which contains as dependencies some other dlls (a sort of personal framework).
The project is an Xamarin Forms project.
When I start to build the main project all works fine.
If I try to build the Android or iOS project this error occurs and the build stopped:
Can not resolve reference: `SQLitePCLRaw.core`, referenced by `MyAppTest` > `MyFramework` > `SQLite-net`.
Please add a NuGet package or assembly reference for `SQLitePCLRaw.core`, or remove the reference to `MyAppTest`.
MyAppTest.Android C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets 1962
Inside the MyFramework
there are some function that access at a SQLite DB (I have installed in MyFramework
the NuGet package sqlite-net-sqlcipher), but I don't use these function in this new project.
I already have added this line inside the csproj of MyFramework
:
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
How can I solve this?
I need to change something else inside the MyFramework
?
I would not install the sqlite-net-sqlcipher package in my new application because I don't have a SQLite DB here.