WPF应用程序:System.Windows.Interactivity加载错误

时间:2018-04-04 08:40:58

标签: .net wpf visual-studio dll

当我运行我的应用程序时,我遇到了这个异常。

  

System.IO.FileLoadException:无法加载文件或程序集   'System.Windows.Interactivity,Version = 4.5.0.0,Culture = neutral,   PublicKeyToken = 31bf3856ad364e35'或其依赖项之一。该   找到程序集的清单定义与程序集不匹配   参考。 (来自HRESULT的异常:0x80131040)文件名:   'System.Windows.Interactivity,Version = 4.5.0.0,Culture = neutral,   公钥= 31bf3856ad364e35'

所以我从下面的位置添加了DLL。

  

C:\ Program Files(x86)\ Microsoft   的SDK \表达\ Blend.NETFramework \ V4.5 \库\ System.Windows.Interactivity.dll

之后,如果我重新运行该应用程序,它仍然会引发相同的异常。有什么想法吗?

0 个答案:

没有答案