The app has no build errors, (a few warnings) but fails when deployed on debug or release. The messages when things start to go sideways is: (slightly condensed)
Unable to add a reference to project 'Water'. The Current project's target is not one of or compatible with the targets of Portable Library project 'Water'
IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled. Water.Android
The App is a Xamarin.forms PCL project and an droid project. This will be a data app with SQLite for data access. Currently there is just bare-bones data access with two content pages, each with one label each.
When I attempt to deploy the app on a physical phone, I get in the output:
"No way to resolve conflict between "mscorlib=4.0.0.0" and "mscorlib, Version = 2.0.5.0"
Build is said to succeed, pulls up a white screen, no label, but crashes immediately, before reaching breakpoint set on app() constructor
Things I have tried:
moving project from %\documents\Visual Studio 2017\projects to C:\repos
Clean both projects, remove all bin/obj folders, NugetConsole->Update-Package -Reinstall, rebuild, run on device (as both debug and release)
Ensure that droid project is compiling with same sdk as the target
Looking at configurations of all solutions/projects(This seems like a perfect place, but I nothing seems relevant in the PCL. Currently am try to target android ONLY, and the PCL properties->Library has nothing to do with Android)
What can I do to fix the mscorlib conflict and fix the conditions that cause the warnings?