I am writing a Bluetooth LE plugin for Xamarin.
The target platforms of the library are netstandard2.0, MonoAndroid9.0 and Xamarin.iOS10.
The library is being referenced from the shared Xamarin project which is netstandard2.0.
Various parts of the code are segmented by preprocessor directives validating the target platform.
But when executing from the Android project, the execution always enters the NETSTANDARD2_0 directive and not the other one.
Where can be the problem?