在某些环境中WPF 4.0应用程序加载错误 [英] WPF 4.0 Application load error in some environments
问题描述
我有4种环境:
- 赢得7 64位
- Win 2003 32位
- Win XP SP3 32位
- Win 2003 64位
在前2个中,我的应用加载并成功运行.在后一个2中,出现以下错误(缩短了):
In the first 2, my app loads and runs successfully. In the latter 2, I get the following error (shortened):
System.Windows.Markup.XamlParseException:方法或操作不正确实施. --->System.NotImplementedException:方法或操作不是实施的.在System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlTypebamlType,Int16 typeId)...在System.Windows.Markup.WpfXamlLoader.Load(XamlReaderxamlReader,IXamlObjectWriterFactorywriterFactory,布尔值skipJournaledProperties,对象rootObject,XamlObjectWriterSettings设置,Uri baseUri)---结束内部异常堆栈跟踪--- ...在System.Windows.Application.LoadComponent(Object组件,Uri resourceLocator)位于 DBSophic.Qure.WorkloadAnalyzer.UI.App.InitializeComponent()在e:\ Qure \ Dev \ BuildSystem \ Sources \ Trunk \ DBSophic.Qure.WorkloadAnalyzer.UI \ App.xaml:line1点DBSophic.Qure.WorkloadAnalyzer.UI.AppMain.Main()在e:\ Qure \ Dev \ BuildSystem \ Sources \ Trunk \ DBSophic.Qure.WorkloadAnalyzer.UI \ AppMain.cs:line21
System.Windows.Markup.XamlParseException: The method or operation is not implemented. ---> System.NotImplementedException: The method or operation is not implemented. at System.Windows.Baml2006.Baml2006SchemaContext.ResolveBamlType(BamlType bamlType, Int16 typeId) ... at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) --- End of inner exception stack trace --- ... at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) at DBSophic.Qure.WorkloadAnalyzer.UI.App.InitializeComponent() in e:\Qure\Dev\BuildSystem\Sources\Trunk\DBSophic.Qure.WorkloadAnalyzer.UI\App.xaml:line 1 at DBSophic.Qure.WorkloadAnalyzer.UI.AppMain.Main() in e:\Qure\Dev\BuildSystem\Sources\Trunk\DBSophic.Qure.WorkloadAnalyzer.UI\AppMain.cs:line 21
可能是什么原因造成的?
What might cause it?
推荐答案
丢失的DLL将是XAML中的命名空间引用的一个.
The missing DLL will be one referenced by a namespace in your XAML.
这篇关于在某些环境中WPF 4.0应用程序加载错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!