I am running Visual Studio 2019 preview and I have the Android preview sdk installed (9.0.99) But when I try to build a xamarin forms project with a library set to netstandard 2.1. I still het a compatibiliteit error with monodroid. What am I missing? Been searching quite a bit and found something about a mono 2019-06 I believe, but no info on how to get it.
In Microsoft's Announcing .NET Standard 2.1 blog post it was announced that Standard 2.1 will be implemented by .NET Core 3.0 and upcoming versions of Xamarin, Mono, and Unity (and not the legacy .NET Framework).
We are starting new mobile app development for iOS and Android, So should we use .NET Core 3.1 or 5.0. As 5.0 released recently, will there be issues with Xamarin. will there be issues with Xamarin. No, xamarin forms use .Net Standard 2.0 or .Net Standard 2.1 like this screenshot.
You can target the .NET Standard framework using the netstandard compact TFM (for example, netstandard1.4). Libraries that are intended to run on multiple implementations of .NET should target this framework. For the broadest set of APIs, target netstandard2.0 since the number of available APIs more than doubled between .NET Standard 1.6 and 2.0.
The most common way to target netstandard is by referencing this metapackage. It describes and provides access to the ~40 .NET libraries and associated APIs that define .NET Standard. You can reference additional packages that target netstandard to get access to additional APIs.
This github document shows that Xamarin Android support NS2.1 since version 10:
So if you use at least Visual Studio 16.3 you can use .Net Standard 2.1 in Xamarin Android apps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With