未找到文件:RibbonscontrolsLibrary.aero2调试visual studio 2017时

时间:2017-06-14 07:36:40

标签: c# wpf visual-studio visual-studio-2017

我目前正在开发一个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文件。并重新克隆了项目,但问题仍然存在。

references

这些是我添加到项目中的参考资料..

有什么想法吗?

编辑:

该项目在Windows 7机器上运行完美,但这并没有解决问题。添加windowsPresentationFoundation.aero2也没有做任何事情 另一件奇怪的事情是,我可以在不调试的情况下运行程序,但是一旦我在visual studio 2017中开始调试它,我就会收到错误消息

1 个答案:

答案 0 :(得分:0)

原来这是视觉工作室2017中的一个错误,

似乎视觉工作室2017仍然存在相当多的错误。 一旦我禁用了XAML调试 通过调试 - >选项 - >调试 - >一般 - > Untick为Xaml启用ui调试工具,它神奇地开始再次工作