XAML without previewer or designer - Visual Studio

Asked

Viewed 790 times

8

I’m using Visual Studio 2015 Community with Xamarin, and I realized that when editing XAML in designer mode (Shift + F7) I can’t see the preview of it, because another window opens with the same source. I still can’t see your rendering in Xamarin.Forms Previewer.

The project is properly compiled, no errors, and I can use it on mobile, Vms Android, and other platforms.

I did the procedures:

  • I enabled Tools > Options > XAML Desginer > Enable XAML Designer, and restarted VS, including varying all the options of this screen.
  • I accessed View > Other Windows > Xamarin.Forms Previewer (here is the screen below):

    Preview sem a renderização, e aberto o fonte que deveria estar em modo desginer: Additional considerations:

    • Use STABLE version of Xamarin
    • All Nuget Packages (the ones needed to run the project, such as Xamarin.Forms) are up to date
    • Newly formed computer and software installed
    • Windows 10 Enterprise x64 OS, and also tested in Pro version.
  • 2

    Is the version of Xamarin Forms up to date? You will need the 64bit version of Java installed.

  • Yes, Angelo. And also the Java version is x64. The most current version I had installed to do this test was jdk1.8.0_121.

  • 1

    I use Visual Studio 2017, 15.8.0 Preview 1.1 It contains several improvements and bug fixes. It can be installed side by side with another version. See https://www.visualstudio.com/vs/preview/

1 answer

1


The preview by visual studio 2015 is still not working in many cases, you can try to upgrade the android ndk to a newer version, and if it still doesn’t work you can use a preview of Gorilla Player. http://gorillaplayer.com/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.