Visual Studio 2015:快速操作不再有效,错误:无法加载文件或程序集 Microsoft.CodeAnalysis [英] Visual Studio 2015: Quick Actions no longer working, error: Could not load file or assembly Microsoft.CodeAnalysis

查看:54
本文介绍了Visual Studio 2015:快速操作不再有效,错误:无法加载文件或程序集 Microsoft.CodeAnalysis的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到昨天,我还可以愉快地在 Visual Studio 2015 中使用 Quick Actions 和 Refactoring.今天,即使在重新启动 PC 并创建一个全新的解决方案后,它也不再有效.

Until yesterday, I could happily use Quick Actions and Refactoring in Visual Studio 2015. Today, it no longer works, even after restarting the PC and creating a completely new solution.

昨天,当我更改变量名称时,出现了一个灯泡,我可以要求 VS 在使用此变量名称的任何地方重命名.

Yesterday, when I changed a variable name, a light bulb appeared and I could ask VS to rename wherever this variable name was used.

今天,灯泡没有出现.当我右键单击变量名称时,我可以选择菜单 Quick Actions and Refactoring,但随后收到错误消息:无法加载文件或程序集 Microsoft.CodeAnalysis,版本 = 1.3.1.0,文化 = 中性,OublicKeyTaken = 31bf3856ad364e35' 或其依赖项之一.系统找不到指定的文件."

Today, the light bulb does not appear. When I right click the variable name, I can select the menu Quick Actions and Refactoring, but then I get the error message: "Could not load file or assembly Microsoft.CodeAnalysis, Version=1.3.1.0, Culture=neutral, OublicKeyTaken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."

对解决此问题的任何帮助表示赞赏.

Any help with fixing this problem is appreciated.

推荐答案

我在使用 Visual Studio 2015 Update 2 时遇到了同样的问题.我通过为 Visual Studio 2015 安装 Update 3 解决了这个问题.

I had the same problem with Visual Studio 2015 Update 2. I solved it by installing Update 3 for Visual Studio 2015.

这篇关于Visual Studio 2015:快速操作不再有效,错误:无法加载文件或程序集 Microsoft.CodeAnalysis的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆