2017-06-14 102 views
0

我目前正在一个WPF项目,它一直在编译正确,但在我更新Windows 10的最新版本后,我无法编译该项目了。未找到文件:RibbonscontrolsLibrary.aero2在调试visual studio 2017时

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中调试它,我会收到错误消息

回答

0

原来,这是一个错误visual studio 2017,

看起来好像visual studio 2017还有一些bug。 一旦我禁用XAML调试 去调试 - >选项 - >调试 - >一般 - > Untick启用ui调试工具为Xaml它神奇地开始重新工作