System.MissingMethodException: Method 'ScrollView.ScrollToAsync' not found.

Every time I try to call ScrollView.ScrollToAsync() I get this run time exception:

System.MissingMethodException: Method 'ScrollView.ScrollToAsync' not found.

I'm not sure how my code compiles if the method doesn't exist? I can F12 to ScrollToAsync. It seems to take me to some kind of interface.

This is how I call it:

MultiQuestionScroll.ScrollToAsync(0, 10, true);

I upgraded Xamarin Forms to, but I still get his problem.

Best Answer


  • MicahHooverMicahHoover USMember ✭✭

    Now it won't compile anymore.

    Failed to resolve "System.Threading.Tasks.Task Xamarin.Forms.ScrollView::ScrollToAsync(System.Double,System.Double,System.Boolean)" reference from "Xamarin.Forms.Core, Version=, Culture=neutral, PublicKeyToken=null" MicahFormsTest.iOS

  • MicahHooverMicahHoover USMember ✭✭

    F12 works, but it doesn't take me to an interface.

    It takes me to the ScrollView class (not an interface). I can see the ScrollToAsync declaration I'm calling. Not sure why it isn't resolving it ...?

  • MicahHooverMicahHoover USMember ✭✭

    Ah ... apparently the same same references live at the portable and iOS level ... and can have different versions.

    Fooled around with it in NuGet package manager and seems to be going now.

Sign In or Register to comment.