Forum Xamarin.Forms

Chapter08 - ColorViewList : System.Reflection.TargetInvocationException


I am following this tutorial :

but when running the application I got the error : System.Reflection.TargetInvocationException

I think that the problem/errror message is related to some error in Xaml files:

can someone help me to solve this problem?


Microsoft Visual Studio Professional 2015 14.0.25431.01 Update 3
Visual Studio Tools for UWA 14.0.25527.01
Xamarin (15694b9)
Xamarin.Android (5a02b03)
Xamarin.iOS (b638977)

Best Answer


  • pcaridadepcaridade USMember

    I saw the "deprecated" warning, but never crossed my mind that a "deprecated" function would cause an error.
    In Android (native/java) sometimes I use deprectated functions or the functions become deprecated with new versions, but the application still running until I have time to upgrade them to new functions.
    Thank you.

  • MoelgaardMoelgaard DKMember

    I struggled for a while with this as well, perhaps even an hour or two - Thank you for this!

Sign In or Register to comment.