[英]File not found: RibbonscontrolsLibrary.aero2 when debugging visual studio 2017
I'm currently working on a WPF project, it's been compiling properly but after i updated windows 10 to the latest build i can't compile the project anymore. 我目前正在处理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.'
this issue is also found here, 这个问题也在这里找到,
Getting a FileNotFoundException for RibbonControlsLibrary.Aero2 为RibbonControlsLibrary.Aero2获取FileNotFoundException
i tried the deleting the .suo files as was suggested in the link above. 我尝试按照上面的链接中的建议删除.suo文件。 and re-cloned the project but the problem still persists. 并重新关闭了该项目,但问题仍然存在。
these are the references i've added to the project.. 这些是我添加到项目中的引用。
Any ideas? 有任何想法吗?
EDIT: 编辑:
the project works perfectly on a windows 7 machine, however this does not solve the issue. 该项目可以在Windows 7计算机上完美运行,但是不能解决问题。 adding windowsPresentationFoundation.aero2 also did nothing Another odd thing is that i can run the program without debugging it, but as soon as i start debugging it in visual studio 2017 i get the error message 添加windowsPresentationFoundation.aero2也没有执行任何操作另一个奇怪的事情是我可以在不调试的情况下运行该程序,但是一旦我在Visual Studio 2017中开始调试它,我就会收到错误消息
Turns out this is a bug in visual studio 2017, 原来这是Visual Studio 2017中的错误,
it seems like visual studio 2017 has quite some bugs in it still. 似乎Visual Studio 2017仍然有很多错误。 once i disabled XAML debugging by going to Debug -> options -> debugging -> general -> Untick Enable ui debugging tools for Xaml it magically started to work again 一旦我通过转到调试->选项->调试->常规->取消选中Xaml启用ui调试工具来禁用XAML调试,它就会神奇地重新开始工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.