Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin.IOS Error - Can not resolve reference: C:/Program Files (x86)/../Xamarin.iOS/v1.0/Facades/System.Private.CoreLib.InteropServices.dll

I working on Cross-platform PCL Xamarin Forms (Android,IOS) Project.

I am using Visual Studio 2015 and Window 10 OS to make xamarin project. I have installed Xamarin studio in MAC PC to run IOS project.

My IOS and android project was successfully running but when I update the Xamarin studio in MAC PC it started giving error in ios project:

Can not resolve reference: C:/Program Files (x86)/Reference Assemblies/Microsoft/Framework/Xamarin.iOS/v1.0/Facades/System.Private.CoreLib.InteropServices.dll

Please suggest me what to do to solve this error.

Thanks in advance

like image 382
Kirti Zare Avatar asked Sep 20 '16 09:09

Kirti Zare


2 Answers

I was having the same problem until I manually upgraded Xamarin. In Visual Studio open Tool->Options->Xamarin->Other and select Check Now. The latest stable release fixed the problem. Seems the older Xamarin install was not compatible with the Mac install.

like image 50
3spot Avatar answered Oct 26 '22 08:10

3spot


I had the same problem. Installing the latest Xamarin 4.2 Beta fixed in visual studio 2015 for me. Go to Tools -> Options -> Xamarin -> Other and change the update options to include Beta. I think it installed 4.2.0.680

like image 34
Walt Avatar answered Oct 26 '22 08:10

Walt