[Xamarin Forms] XAML previewer in Visual Studio 2017 (really slow)

Preview my Xamarin Forms XAML ?

Today, I started a new Xamarin Forms application and for that I decided to use Visual Studio 2017 Community edition.
Why ? Because I know that this version includes interesting features to me. One of this feature is that we can preview our Xamarin Forms XAML pages (theorically in a better way than in VS2015).

First, we have to notice that to preview XF XAML pages, we don't use the exact same way as with  traditional XAML pages. In fact what we are looking for is not the designer but the Xamarin Forms Previewer Window. Take a look at the next steps to understand the differences... 

There is not a lot of details on Xamarin Web site:
https://developer.xamarin.com/guides/xamarin-forms/xaml/xaml-previewer/



XAML Designer vs Xamarin Forms Previewer

On a XF XAML page, right click on the code:
Using traditional "Designer menu" as for traditional XAML page

We got an error

Then use the previewer (menu VIEW\Other Windows\Xamarin.Forms.Previewer) !


Then after 'some times', the previewer Window appears:




XF Previewer, is it cool and smooth ?

Unfortunately for me, I cannot modify my code while the previewer is opened. It is extremely slow to update changes...

So I know that the previewer is still in "Preview", but as is, I can't use it. I have to type my code then If I really need, open the previewer Window.

Bellow, here are the messages from Visual Studio showing me performances issue:






So I will investigate, and maybe wait for the next releases. If you encountered the same issue, don't hesitate to share your ideas ;)


Comments

  1. Nice blog. Thanks for sharing such great information.Inwizards Inc is a xamarin Development company offers quality xamarin development services best in web industries. Intrested click here - Xamarin services India, Hire xamarin developer india

    ReplyDelete
  2. Nice blog. Thanks for sharing such great information.Develop xamarin application Xamarin development services , Xamarin development company

    ReplyDelete

Post a Comment

Popular posts from this blog

EMGU with Xamarin Forms guide [part 1]

[Xamarin Forms] Custom bottom bordered entry (iOS & Android)

Set your browser on Fire with P5.js