Hi Stackoverflow community,
I am in the process of creating a .Net Standard 2.0 Library project for my Xamarin Cross Platform App.
For the Droid project which references the above project I am getting the following error for one of the NuGet packages:
Can not resolve reference: 'GalaSoft.MvvmLight', referenced by 'NetStdLibProject'. Please add a NuGet package or assembly reference for 'GalaSoft.MvvmLight', or remove the reference to 'NetStdLibProject'. NetProject.Droid
I have added following NuGet Packages to my NetStdLibProject project:
MVVMLight (5.4.1.1)
MVVMLightLibs (5.4.1.1) [This has following warning]
(Package 'MvvmLightLibs 5.4.1.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.)
Please advise if there is a way to handle this scenario, or even if I am missing something. Also, please let me know if I need to include other related/beneficial packages.
PS: Me and my colleagues use Visual Studio 2019 (Windows & Mac both, Mac for IOS part to be somewhat specific)
Thanks for reading and any help is highly appreciated.
