WPF 4.0 在某些环境中应用程序加载错误

标签 wpf load

我有 4 个环境:

  1. Win 7 64 位
  2. Win 2003 32 位
  3. Win XP SP3 32 位
  4. Win 2003 64 位

在前 2 个中,我的应用程序加载并成功运行。在后 2 中,我收到以下错误(缩短):

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

可能是什么原因造成的?

最佳答案

缺少的 DLL 将由 XAML 中的命名空间引用。

关于WPF 4.0 在某些环境中应用程序加载错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3850185/

相关文章:

c# - WPF 应用程序的单元测试失败,出现 NotSupportedException "The Uri prefix is not recognized"

c# - 集合更改时未更新 GroupStyle header 中的绑定(bind)

jQuery - 加载后显示列表

c# - 将图像添加到 wpf

c# - WPF + Caliburn 微 : how to catch Window Close event?

c# - xbox 360 kinect光束角度与属性更改有关

php - 页面加载时发出声音

java - 将图像从 JFrame 传递到另一个 JFrame

Linux:在运行时改变 LD_LIBRARY_PATH

mysql - 如何将 `\data\^Ihello$` 加载为两列?