XAML Designer not showing up for Android.

Omer Faruk ORUC 6 Reputation points
2021-07-06T12:58:47.047+00:00

When I go to edit a xaml file in a xamarin.forms project I can only see the xaml and not a split screen with both the xaml and the UI preview. This problem is present in Visual Studio 2019 Version 16.10.3. I have made sure the XAML designer is enabled in options and restarted the solution multiple times and it has not been fixed.

Xaml Designer Settings
112120-picture1.png

Hot Reload Settings
112099-picture2-hotreload.png

Developer technologies | .NET | Xamarin
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Anonymous
    2021-07-07T01:14:24.233+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    The XAML Previewer has been deprecated in Visual Studio 2019 version 16.8 and Visual Studio for Mac version 8.8, and replaced by the XAML Hot Reload feature in Visual Studio 2019 version 16.9 and Visual Studio for Mac version 8.9. Learn more about XAML Hot Reload in the documentation.

    XAML Previewer is removed in 16.9, You can use hot reload to replace it, please see this document:https://learn.microsoft.com/en-us/xamarin/xamarin-forms/xaml/xaml-previewer/?pivots=windows

    Best Regards,

    Leon Lu


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

  2. Chaz Ashley 6 Reputation points
    2021-09-09T16:59:25.817+00:00

    This is funny,

    How do you layout your controls/component with Hot Reload? The toolbox is empty.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.