Correct way to get Xamarin Forms Previewer working in Visual Studio?

I am still getting a gray box with XFPageRendererView text when I try to use the Xamarin Forms Previewer.

I am on the latest stable version of Xamarin and am using the latest updated version of Visual Studio 2015 Enterprise.

When I check the Xamarin bug report, there appears an old bug about this last year, marked as closed, but it is still β€œopen” to me. XFPageRenderView instead of XAML preview :(

In the hope that I know that I do not need a β€œpreview”. But for a basic layout and sanity check it would be much faster.

Thanks.

+7
visual-studio xamarin xamarin.forms
source share
3 answers

This was also my problem last week. I was looking for a solution on the xamarin forums, and they said that if you install the mac agent, forms preview will be used. I don't have a mac, so I never tried. The solution that worked for me was to install the latest version of xamarin BETA. See Image on how to install BETA.

enter image description here

+2
source share

After February 20, once the Xamarin update fixed the problem. Make sure you install the Java SDK 64 bit. Also, before opening the XAML file, create / rebuild the solution a couple of times. And try opening / reopening the file a couple of times. You can find more information here.

0
source share

upgrade jdk version

Check out the current version of the JDK. Tools -> Options -> Xamarin -> Java Development Kit

Install or upgrade JDK

Restart Vs studio 2017

0
source share

All Articles