What causes the VS 2010 SP1 WPF Designer to crash?

后端 未结 1 1787
不思量自难忘°
不思量自难忘° 2021-01-18 19:29

We\'re experiencing crashes on various machines in the VS2010 WPF designer in the following scenario:

  • VS 2010 SP1 installed
  • 64 Bit Windows 7
相关标签:
1条回答
  • 2021-01-18 20:14

    We sometimes get around this by adding

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

    in the loaded event of the offending control

    0 讨论(0)
提交回复
热议问题