Visual Studio - 无法加载任何dll

时间:2018-04-04 13:34:38

标签: c# visual-studio

使用Visual Studio 2017。

在合并2 GIT个分支时突然间,我的解决方案出现了所有错误(The type or namespace ....cannot be found)。

然而,解决方案成功编译。

我试过了:

  • 删除VS缓存
  • 重启VS
  • 甚至重启PC,仍在发生。

enter image description here

1 个答案:

答案 0 :(得分:3)

在这种情况下通常帮助我的是递归删除所有bin&解决方案中的obj文件夹。然后关闭VS +打开VS并重建。瞧...:)