简体   繁体   English

Visual Studio 2010 + ReSharper无法正常工作

[英]Visual Studio 2010 + ReSharper Not Working

I've installed ReSharper 5 on two installations of Visual Studio 2010 Professional. 我在两个Visual Studio 2010 Professional安装上安装了ReSharper 5。 In both cases, ReSharper claims it has installed successfully - but Visual Studio doesn't recognize the extension. 在这两种情况下,ReSharper声称它已成功安装 - 但Visual Studio无法识别扩展。 It doesn't show up in the Extensions Manager, doesn't appear in Help - About - Installed products, and can't be found anywhere else in the environment. 它不会出现在Extensions Manager中,也不会显示在“帮助 - 关于 - 已安装”产品中,也无法在环境中的任何其他位置找到。

I've tried install / uninstall of both Visual Studio and ReSharper, computer restarts, etc. Both machines have Visual Studio 2008 and ReSharper 5 works fine in these IDEs, and both machines are running Windows 7. 我已经尝试安装/卸载Visual Studio和ReSharper,重新启动计算机等。两台机器都有Visual Studio 2008,ReSharper 5在这些IDE中运行良好,两台机器都运行Windows 7。

I've found other people online with this issue, but no solutions. 我在网上找到了这个问题的其他人,但没有解决方案。 Anyone know how to fix this? 有人知道怎么修这个东西吗?

Check that ReSharper is enabled in Tools->Options->ReSharper . 检查在Tools->Options->ReSharper是否启用了Tools->Options->ReSharper Suspend and unsuspend it, in case that helps (I've heard that work before). 暂停和取消暂停,如果有帮助(我之前听说过这项工作)。 Note that ReSharper will notice if more than one computer on a given network is running the same license, and disable all but one of the instances that are running. 请注意,ReSharper将注意到给定网络上的多台计算机是否运行相同的许可证,并禁用除一个正在运行的实例之外的所有计算机。 Check that hasn't happened to you. 检查没发生在你身上。

运行devenv /resetskippkgs ,解决了我在Visual Studio 2008中的问题

I've fixed the problem by just copying the JetBrains folder from other version of Visual Studio: 我通过从其他版本的Visual Studio复制JetBrains文件夹来解决问题:

This is visual studio 2010 folder for extensions: c:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\Extensions\\ 这是用于扩展的visual studio 2010文件夹:c:\\ Program Files(x86)\\ Microsoft Visual Studio 10.0 \\ Common7 \\ IDE \\ Extensions \\

This is visual studio 2012 folder for extensions: c:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\IDE\\Extensions\\ 这是用于扩展的visual studio 2012文件夹:c:\\ Program Files(x86)\\ Microsoft Visual Studio 11.0 \\ Common7 \\ IDE \\ Extensions \\

I just copied from 2012 folder the 'JetBrains' and pasted to the 2010 extensions folder. 我刚从2012文件夹中复制了'JetBrains'并粘贴到2010扩展文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM