I am somewhat a novice with Xamarin.
I've made a small application that uses a .net standard 2.0 library for an UWP-app. The library uses a nuget package to consume the EWS services of Exchange Server. Everything is working fine on the UWP side, but I want to try making an Android client as well.
Being compatible with .net standard 2.0 now I made a reference in my new Xamarin project to my existing library. The application seems to compile, but upon loading the App crashes.
I suspect that it is connected to the nuget package I'm using. It depends on System.Security.Cryptography.Xml (4.4.0). I do not get any errors in the visual studio solution explorer. The Output window displays following set of errors:
02-26 14:28:46.761 D/Mono ( 4890): Assembly Loader probing location: 'System.Security.Cryptography.Xml'.
02-26 14:28:46.761 F/monodroid-assembly( 4890): Could not load assembly 'System.Security.Cryptography.Xml' during startup registration.
02-26 14:28:46.761 F/monodroid-assembly( 4890): This might be due to an invalid debug installation.
02-26 14:28:46.761 F/monodroid-assembly( 4890): A common cause is to 'adb install' the app directly instead of doing from the IDE.**
There are no issues when I remove the reference to my library.