Error: System.NullReferenceException: Object reference not set to an instance of an object.

DanieleFerrarioDanieleFerrario USMember
edited April 2017 in Xamarin.Android

Hello!
I've been working with xamarin for 2/3 weeks without problems but now, started a new project, it gives me the error that you can see in the image, even if I use a simple program with one button. Since I' ve upgraded Visual Studio and Xamarin I also can't assign the event "OnClick" automatically by double-clicking the button so I have to do manually ( Maybe this is the problem).

Than you very much.

N.B Sorry for my english! :smile:
[]!

Best Answer

Answers

  • Thanks! :smiley:

  • ndzalamandzalama Member

    I am having a similar issue but i have the SetContentView before calling the button click event

Sign In or Register to comment.