问题
I have updated Visual Studio 2019 to version 16.3 which can support .Net Core 3 stable version.
After creating the first WPF app supported by .Net Core 3, the designer is inactive while the XAML designer is enabled in Tools=>Option=>XAML Designer.
How is it possible to activate the UI Designer in Visual Studio 16.3?
An image describing the problem visually has been attached to the question.
回答1:
Try “Tools” > “Options” > “Environment” > “Preview Features” and check the option “Use previews of the .NET SDK”. Then restart Visual Studio. (https://developercommunity.visualstudio.com/content/problem/745513/xaml-designer-does-not-load-in-visual-studio-2019.html)
回答2:
If the above options do not work, look under Tools/Options/XAML Designer, check Enable XAML Designer. I could not get that setting to save until I started VS as admin, then it finally saved.
However, for me, it still doesn't work. But it seems to have something to do with this setting having issues. Odd thing is, on another system I use, it works fine.
来源:https://stackoverflow.com/questions/58077297/xaml-ui-designer-is-inactive-for-wpf-projects-in-net-core-3-0