Forum Xamarin Xamarin.Forms

Reference error. I do not get to fix

pnet1pnet1 USMember ✭✭✭✭
edited October 2019 in Xamarin.Forms

When i try to compile my project for IOS i get this error

/Volumes/Files/DEV/MicroPower/PerformaMobile/Git/Clients/excentric/PerformaMobile/PerformaMobile.iOS/MTOUCH: Error MT2101: Can't resolve the reference 'System.Void Xamarin.Forms.Button::set_ImageSource(Xamarin.Forms.ImageSource)', referenced from the method 'Xamarin.Forms.View PerformaMobile.Core.View.ThumbnailLargePlayerView::GetViewAll(System.Type)' in 'Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. (MT2101) (PerformaMobile.iOS)

How do I solve this?

I use Visual Studio 2019 for Mac

Best Answer

  • pnet1pnet1 USMember ✭✭✭✭
    Accepted Answer

    My App there was 3 core and i was building with core wrong. I solved compiling with correct core. We have 3 core and 100 customized project each by client. I did not know. This is my first Job in this Company.

Answers

  • pnet1pnet1 USMember ✭✭✭✭

    I have a doubt. When i Restore NuGet package, it updates the references or Restore that reference according to csproj file?

  • ColeXColeX Member, Xamarin Team Xamurai

    What's the version of your visual studio for mac ? Keep it up to date .

    What's the version of Xamarin.Forms in your project ? Install the latest version .

  • pnet1pnet1 USMember ✭✭✭✭

    Visual Studio 2019 for Mac, Xamarin.Forms for IOS is 2.5.0.280555 and i do not to update to lastest Version.

  • pnet1pnet1 USMember ✭✭✭✭
    Accepted Answer

    My App there was 3 core and i was building with core wrong. I solved compiling with correct core. We have 3 core and 100 customized project each by client. I did not know. This is my first Job in this Company.

Sign In or Register to comment.