【问题标题】:File not found: RibbonscontrolsLibrary.aero2 when debugging visual studio 2017找不到文件:调试 Visual Studio 2017 时的 RibbonscontrolsLibrary.aero2
【发布时间】: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


    【解决方案1】:

    原来这是 Visual Studio 2017 中的一个错误,

    似乎 Visual Studio 2017 中仍然存在相当多的错误。 一旦我禁用 XAML 调试 通过转到调试 -> 选项 -> 调试 -> 常规 -> 取消勾选为 Xaml 启用 ui 调试工具,它神奇地再次开始工作

    【讨论】:

      猜你喜欢
      • 2017-01-31
      • 2018-06-26
      • 1970-01-01
      • 1970-01-01
      • 2017-09-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多