VS2012 - XDesProc hangs when Xaml file is opened

前端 未结 4 2003
清酒与你
清酒与你 2020-12-11 01:12

In VS2012 whenever I try to open a xaml file (even in full XAML view) the XDesProc process keeps spinning and hangs visual studio. I tried killing it but it respawns.

<
相关标签:
4条回答
  • 2020-12-11 01:30

    The "Source Code (Text) Editor" doesn't work for me.

    Apparently XDesProc still decides to come up with every character I type. I have changed the permission of XDesProc such that "Everyone" is denied to read & execute to get it from starting at the first place.

    0 讨论(0)
  • 2020-12-11 01:31

    Translation: Just found this fix that works for Visual Studio 2012

    Original text: Solo encontre respuesta con este fix. Funciona para Visual 2012.

    http://www.microsoft.com/en-ie/download/details.aspx?id=36020

    0 讨论(0)
  • 2020-12-11 01:33

    A lot of people are complaining about this (including my self).

    Here is a work around for getting rid of the XDesProc and for speeding up XAML viewing performance: http://weblogs.asp.net/fmarguerie/archive/2009/01/29/life-changer-xaml-tip-for-visual-studio.aspx

    This will disable the designer in VS2012.

    0 讨论(0)
  • 2020-12-11 01:39

    With my Visual Studio 2012.4, and 2gb of RAM used by XDeskProc, I resolve the problem by turning off the data loading in View Model’s constructor if in design mode. Loading the ItemsSources of my many Comboboxes just bogged down the designer

    If DesignerProperties.GetIsInDesignMode(New DependencyObject) Then ‘ Do nothing Else ‘ Do something End If

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