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

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

etc.

Answers

  • 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 ✭✭✭✭✭

    @DaveY

    There are countless threads about Previewer.

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

Sign In or Register to comment.