【发布时间】:2017-08-07 20:31:35
【问题描述】:
我目前正在开发一个 WPF 项目,它一直在正确编译,但是在我将 Windows 10 更新到最新版本后,我无法再编译该项目了。
Managed Debugging Assistant 'BindingFailure' :
'The assembly with display name 'RibbonControlsLibrary.Aero2'
failed to load in the 'Load' binding context of the AppDomain with ID 1.
The cause of the failure was: System.IO.FileNotFoundException:
Could not load file or assembly 'RibbonControlsLibrary.Aero2,
Version=4.0.0.11019, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
or one of its dependencies. The system cannot find the file specified.'
这个问题也在这里找到,
Getting a FileNotFoundException for RibbonControlsLibrary.Aero2
我尝试按照上面链接中的建议删除 .suo 文件。并重新克隆了项目,但问题仍然存在。
这些是我添加到项目中的参考。
有什么想法吗?
编辑:
该项目在 Windows 7 机器上完美运行,但这并不能解决问题。添加 windowsPresentationFoundation.aero2 也没有做任何事情 另一个奇怪的事情是我可以在不调试的情况下运行程序,但是一旦我开始在 Visual Studio 2017 中调试它,我就会收到错误消息
【问题讨论】:
标签: c# wpf visual-studio visual-studio-2017