Error Message

The base class associated with this Xaml file could not be found. Please double check the class referenced int the "class" attribute exists, and that the project has been compiled


  • ManojkumarMaliManojkumarMali USMember ✭✭✭

    Check namespace of file in xaml file and class file.
    Both needs to be same.

  • SeanThomas.5523SeanThomas.5523 USMember ✭✭

    This does not solve the problem. It is doing this to me in Visual Studio for Mac on every single XAML file in my project. Issue has been ongoing for months. I wish the Xamarin team would post something on this and let us know if there are any actions that developers should take to resolve the issue.

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    edited December 2018
    Can you post the full error details and an example XAML page with code behind?
    Don't think I've ever seen this myself so would be great if we can sort it for you.

    Does this happen every time yoiu compile? I assume it is a fatal error which prevents successful compilation. Correct?

    Are you running the latest Xamarin and VS versions?
Sign In or Register to comment.