Xaml UI Designer is inactive for wpf projects in .net core 3.0

后端 未结 3 1725
北海茫月
北海茫月 2021-01-19 05:05

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 desig

3条回答
  •  囚心锁ツ
    2021-01-19 05:18

    I ran into this same issue with Visual Studio Community 2019 Version 16.4.3 and a .NET Core 3.1 WPF project.

    It turns out that JetBrains ReSharper was causing the problem as it automatically disables the XAML Designer. To change this behavior, navigate to Extensions/ReSharper/Options, search for Disable XAML designer and set the Action dropdown to Ignore.

    Then, as Jon mentioned, make sure to check Enable XAML Designer under Tools/Options/XAML Designer. Restart Visual Studio and you should be good to go.

提交回复
热议问题