Reputation: 416
Im learning Xamarin, when I try to create a project and build it, it gives me this error:
The "Xamarin.Forms.Build.Tasks.GetTasksAbi" task could not be loaded from the assembly , C:\Users\XXXX.nuget\packages\xamarin.forms\3.0.0.482510\build\netstandard2.0\Xamarin.Forms.Build.Tasks.dll. Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral
I really dont know how to solve it. I installed Visual Studio with Xamarin found at this link
Upvotes: 0
Views: 2232
Reputation: 28766
This is the cause:
Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral
Starting with Xamarin-Forms 3, XF has moved to .Net Standard 2.0, so you need to create a library against .net standard 2.0.
Upvotes: 2
Reputation: 416
Thanks for all the suggestions. I just updated Windows 10 and it worked. I had and old Windows build so I guess it was related to my Windows being outdated.
Upvotes: 1