Object reference not set to an instance of an object

SreeeeSreeee INMember ✭✭✭✭✭

Hi everybody,

I am new to xamarin. My project is working fine, but suddenly getting an error without any action: "Object reference not set to an instance of an object"

I search about this issue, but couldn't get a solution.

I am stuck with this issue, anybody please suggest a solution.
Thanks in advance....

Best Answer

  • SreeeeSreeee IN ✭✭✭✭✭
    Accepted Answer

    @ursammann:

    This issue happens because of nuget package version issues. I think I solve this issue by creating a new project and add all the files and packages into it one by one.

Answers

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    Check the XAML of the offending page carefully. I've had this error when I have ended up with a stray extra character which makes it invalid.
  • ursammannursammann CHMember ✭✭

    Hello,

    i have the same problem with a project it worked with a older VS 2017 fine.

    My actual new updated VS:

    Microsoft Visual Studio Community 2017
    Version 15.6.3
    VisualStudio.15.Release/15.6.3+27428.2011
    Microsoft .NET Framework
    Version 4.7.02556

    I cleaned all obj folders and the solution.

    What can i do?

  • SreeeeSreeee INMember ✭✭✭✭✭
    Accepted Answer

    @ursammann:

    This issue happens because of nuget package version issues. I think I solve this issue by creating a new project and add all the files and packages into it one by one.

Sign In or Register to comment.