2017-06-14 106 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它神奇地開始重新工作