问题描述
这个错误一直在发生,但最近看起来它仍然存在。简而言之,我在Blend 4中打开的解决方案中的每个.xaml,我得到错误:
This error has been coming and going, but lately it looks like it's there to stay. In short, every .xaml from the solution that I open in Blend 4, i get the error:
"异常:错误HRESULT E_FAIL已从调用COM组件返回。
"Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.
StackTrace
StackTrace
MS.Internal.XcmlImports.CheckHResult(UInt32 hr)
at MS.Internal.XcmlImports.CheckHResult(UInt32 hr)
at MS.Internal System.Windows上MS.Internal.XcpImports.Collection_InsertDependencyObject [T] ...
at MS.Internal.XcpImports.Collection_InsertValue[T]...
的.XcpImports.Collection_InsertValue [T] ...
at MS.Internal.XcpImports.Collection_InsertDependencyObject[T]...
.PresentationFrameworkCollection`1.InsertDependencyObject ...
at System.Windows.PresentationFrameworkCollection`1.InsertDependencyObject...
在System.Windows.Controls.UIElementCollection.InsertInternal"
at System.Windows.Controls.UIElementCollection.InsertInternal"
毋庸置疑,这意味着我无法在Blend的设计视图中工作。对于简单的"从头开始"而言,项目设计师工作,我没有得到错误。所以似乎项目中存在一些问题。
Needless to say, this means I can't work at all in design view in Blend. For a simple "from-scratch" project the designer works and I don't get the error. So it seems there's something in the project bugging it.
我知道如何找出问题所在吗?
Any idea how I can find out what the problem is?
推荐答案
这篇关于Blend 4错误加载设计器:HRESULT E_FAIL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!