Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2022 Preview not showing the XAML designer

Tags:

xaml

maui

I've just installed VS 2022 preview to use Maui but there seems no way to see a designer view of the XAML, I want to drag and drop controls onto the page but all I get is an ancient looking XAML text view.

like image 791
Paul Avatar asked Sep 07 '25 09:09

Paul


1 Answers

Visual Studio has removed the XAML designer. For now, there is no official plan to readd it.

But Visual Studio support Hot Reload to modify your apps managed source code while the application is running, without the need to manually pause or hit a breakpoint. You could preview the view at runtime when you change the UI. For more details, please check the blog. https://devblogs.microsoft.com/dotnet/introducing-net-hot-reload/

Like Cfun said, you could use live visual tree as well. It shows a tree view of the UI elements of your running Xamarin.Forms application. https://learn.microsoft.com/en-us/xamarin/xamarin-forms/xaml/live-visual-tree

like image 142
Wendy Zang - MSFT Avatar answered Sep 11 '25 17:09

Wendy Zang - MSFT