Is your Visual Studio installation updated to the latest version? Use check for updates and see whether there is an update?
Also you can refer the XAMARIN logs, see the xamarin option just above the check for updates button.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, I have recently Installed Visual Studio 2022 and created a winui3 project from the template.
But Xaml designer is not showing and the following error is shown.
An unhandled exception has occured.
System.InvalidOperationException
The document failed to open.
at Microsoft.VisualStudio.DesignTools.SurfaceDesigner.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken)
at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.IsolatedDesignerView.<CreateDesignerViewInfo>d__32.MoveNext()
Neither reload button nor display platform control button is working.
Waiting for Answer...
New-dev0
Is your Visual Studio installation updated to the latest version? Use check for updates and see whether there is an update?
Also you can refer the XAMARIN logs, see the xamarin option just above the check for updates button.
There is no XAML Designer in WinUI 3 :