none
加载XAML文件时出现“Designer process terminated unexpectedly!”问题 RRS feed

  • 问题

  • 安装Visual Studio 11 Beta后, 尝试建立一个新应用(C#),打开BlankPage.xaml时设计器中出现如下所示的错误。(另外:我第一次安装的是VS11中文版,出现了这样的错误,后来卸载后又装了一个英文版还是出现了这样的错误。)

    System.Runtime.Remoting.RemotingException
    [3512] Designer process terminated unexpectedly!
       at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain.Microsoft.Expression.DesignHost.Isolation.IIsolationDomain.CreateInstance(String assemblyName, String assemblyCodeBase, String typeName)
       at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()
       at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
       at Microsoft.Expression.DesignHost.Isolation.IsolatedExportProvider.Initialize()
       at Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateExportProvider(IIsolationTarget isolationTarget, ICatalogFactory catalogFactory, IExportFilter filter)
       at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, DesignerServiceEntry& entry)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateDesignerViewInfo(IIsolationTarget isolationTarget, IHostSourceItem item, IHostTextEditor editor, CancellationTokenSource cancelSource)
       at Microsoft.Expression.DesignHost.IsolatedDesignerService.<>c__DisplayClass1b.<CreateDesigner>b__19()
       at System.Threading.Tasks.Task`1.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()

    不知道什么原因?请给予支持。

     另外,我打开系统日志查看到相关记录:

    错误应用程序名称: XDesProc.exe,版本: 11.0.50214.1,时间戳: 0x4f3a2a4a
    错误模块名称: unknown,版本: 0.0.0.0,时间戳: 0x00000000
    异常代码: 0xc0000005
    错误偏移量: 0x00d615d4
    错误进程 ID: 0x1774
    错误应用程序启动时间: 0x01cd07ed6d001b9b
    错误应用程序路径: E:\Users\edmund\AppData\Local\Expression\Visual Studio\ShadowCache\zmbsn51n.sn0\xpwnorwt.uk5\XDesProc.exe
    错误模块路径: unknown
    报告 ID: aad377f4-73e0-11e1-8e1b-00262d93c1b8
    错误程序包全名: App.a5779c2b7.aef67.a4138.a828f.a40bbabc5e7fc_1.0.0.0_x86_NorthAmerica_8wekyb3d8bbwe
    错误程序包相对应用程序 ID: Designer.App

    2012年3月22日 6:13

答案