You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix XAML intellisense and hot reload in Visual Studio 2022 (#20851)
This fix is for MAUI devs that edit and debug sample projects in Visual
Studio (like `Maui.Controls.Sample.Sandbox`).

Those sample projects normally don't set `UseMaui=true` since control
library projects are referenced directly in the solution. We need to
instead set `DefaultXamlRuntime=Maui` in order for Visual Studio
intellisense and XAML hot reload to work. VS uses either `UseMaui` or
`DefaultXamlRuntime` to determine the XAML runtime.
0 commit comments