Reputation: 11
I was enjoying with Microsoft Visual studio 2017(Community version) latest version of xamarin forms. but randomly i got this error. Project Details: Xamarin forms using .NET Standard library. I have lot of effort to resolve it. even i have reinstall visual studio 3 times. but there is no success.
Upvotes: 0
Views: 612
Reputation: 7189
There are a few steps to fix that error:
1 - Check Xamarin.Forms version in all projects, it should be exactly the same.
2 - Clean Solution
3 - Restart Visual Studio
4 - If it doesn't work, go to the Folder and delete Bin and Obj folders.
Everytime I face a issue like that, usually these steps are more than enough.
As a last resort, you can Load and Unload the Projects in the Solution.
Upvotes: 0
Reputation: 980
I had this Problem in past and After trying every thing the below solution worked for me
A solution library required the Microsoft.Bcl.Build package in the project that reference in your solution installed the package via nuget and it would start working
Hope it Works
Upvotes: 1
Reputation: 139
I've also run into this error. Check that all your projects are targeting the same version of xamarin.
Upvotes: 0