在Blend中获取InvalidOperationException 4009 [英] Getting InvalidOperationException 4009 in Blend
问题描述
在Expression Blend中并排打开两个用户控件时出现此错误:
抛出异常。
InvalidOperationException :4009发生错误。
StackTrace
MS.Internal.XcpImports.CheckHResult(UInt32 hr)
MS.Internal。 XcpImports.ResourceDictionary_Add(ResourceDictionary dictionary,String key,Depen ....(无法读取其余行)
System.Windows.ResourceDictionary.Add(String key,Object value)
在System。 Windows.ResourceDictionary.System.Collections.Generic.IDictionary< System.Object,System ...(无法读取行的其余部分)
InnerException:None
如果我关闭控件,重建,然后重新打开其中一个,看起来没问题。但是当我打开另一个控件时,我再次收到此错误。
任何想法......?
你好,
你的任何一个控件都有相互依赖关系,如果有的话,它是一个绑定吗?结果干杯
When opening two user controls side by side in Expression Blend I get this error appearing:
An Exception was thrown.
InvalidOperationException: 4009 An error has occurred.
StackTrace
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.ResourceDictionary_Add(ResourceDictionary dictionary, String key, Depen.... (can't read the rest of the line)
at System.Windows.ResourceDictionary.Add(String key, Object value)
at System. Windows.ResourceDictionary.System.Collections.Generic.IDictionary<System.Object,System... (can't read the rest of the line)
InnerException:None
If I close the controls, rebuild, then reopen one of them it appears ok. But when I open the other control i get this error again.
Any ideas....?
Howdy,
Do either of your controls have a dependency on each other and if so is it a binding at all?
Cheers
这篇关于在Blend中获取InvalidOperationException 4009的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!