UWP XAML designer doesn't load

2019-06-14 07:02发布

问题:

When I create a new universal application, XAML designer doesn't load and it shows the following exception instead:

Restarting windows, reopening the project or even reinstalling VS didn't solve that.

回答1:

Try to check and install Windows updates, it helped in my case.



回答2:

Reinstalling or repairing Visual Studio might help.



回答3:

In my case uninstalling the App you're developing (Start Menu -> All Apps -> Your App -> Right click -> Uninstall) and rebuilding the solution/re-running the app worked.