0
votes

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

2
So you are creating a new clean Xamarin.Forms project and try to build it right away without any modifications?Freggar
same issue here :( please somebody help usMorenajeRD

2 Answers

2
votes

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.

enter image description here

1
votes

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.