Editing XAML leads Visual Studio's Designer to crash

前端 未结 8 867
长情又很酷
长情又很酷 2021-01-03 21:43

Original Question


I\'m working on a WPF application with Visual Studio 2010, using Telerik.

I have been dealing with a lot of crashes ev

8条回答
  •  梦谈多话
    2021-01-03 22:27

    VS2010 breaking with certain XAML is a fairly well known issue.

    Have you tried adding this code to the Load Event of the offending control?

    if (System.ComponentModel.DesignerProperties.GetIsInDesignMode(this)) { return; }
    

    What causes the VS 2010 SP1 WPF Designer to crash?

提交回复
热议问题