Forms Previewer - 'An exception occurred while rendering the control'

DaveYDaveY david yardyUSUniversity

With Visual Studio 2017 (latest rc) - after opening xaml previewer, I am presented with error in the designer 'an exception occurred while rendering the control'. This occurs while trying to view the Android view. I can however view the ios view when my mac build agent is available.

If I click the (!) icon i see a series of exception messages

you must call xamarin.forms.init prior to using it
at xamarin.forms.device.get_info()



  • DaveYDaveY david yardy USUniversity

    Note: this occurs on a brand new xaml forms project (master-detail) based on the template available within the product

  • ClintStLaurentClintStLaurent Clint StLaurent USUniversity ✭✭✭✭✭


    There are countless threads about Previewer.

    It doesn't work. That's the bottom line.

Sign In or Register to comment.