visual-studio 您有任何提高 ReSharper 和/或 Visual Studio 性能的技巧吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/23737/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Do you have any tips to improve ReSharper and/or Visual Studio performance?
提问by Rismo
I'm using visual studio 2008 and ReSharper4 and it's kind of slow. My machine has 2 GB of RAM, dual core processor and a 7200 rpm hard disk. I know more RAM and a faster hard disk could improve performance, but do you have any tips to improve ReSharper/Visual Studio performance?
我正在使用 Visual Studio 2008 和ReSharper4,它有点慢。我的机器有 2 GB 的 RAM、双核处理器和 7200 rpm 的硬盘。我知道更多的 RAM 和更快的硬盘可以提高性能,但是您有任何提高 ReSharper/Visual Studio 性能的技巧吗?
采纳答案by Brad Tutterow
Turn off the annoying RSS reader
关闭烦人的RSS阅读器
- Tools, Options, Environment, Startup
- 工具、选项、环境、启动
Turn off all the animations
关闭所有动画
- Tools, Options, Environment, Animate Environment Tools
- 工具、选项、环境、动画环境工具
Install the recent Service Pack
Clean out your WebCache
清理你的 WebCache
- AppData\Local\Microsoft\WebSiteCache
- AppData\Local\Microsoft\WebSiteCache
回答by Christian Hagelid
Visual Studio optimisations: http://stackoverflow.com/questions/8440/visual-studio-optimizations#8453
Visual Studio 优化:http: //stackoverflow.com/questions/8440/visual-studio-optimizations#8453
Edit:The above SO post has unfortunately been deleted.
编辑:不幸的是,上面的 SO 帖子已被删除。
Microsoft have provided some tipsthat essentially boil down to turning off features you don't need and reducing solution size by splitting up a solution into smaller self contained solutions where appropriate.
Microsoft提供了一些技巧,基本上归结为关闭不需要的功能并通过在适当的情况下将解决方案拆分为较小的自包含解决方案来减小解决方案的大小。
JetBrains has also provided an articlethat list a whole range of tweaks you can make to both Resharper settings and Visual Studio settings to improve performance.
JetBrains 还提供了一篇文章,其中列出了您可以对 Resharper 设置和 Visual Studio 设置进行的一系列调整,以提高性能。
回答by berko
Having too many projects within your solution also appears to be a factor when it comes to performance. I have no real evidence of this but from my experience, less projects equates to better performance.
在您的解决方案中拥有太多项目似乎也是影响性能的一个因素。我没有真正的证据证明这一点,但根据我的经验,更少的项目等同于更好的性能。
If consolidating projects is not an option then create an alternate solution file so you can add only the existing projects that are relevant to the work you are doing.
如果不能选择合并项目,则创建一个备用解决方案文件,以便您可以仅添加与您正在执行的工作相关的现有项目。
回答by Alex
- Disable unused extensions under "Tools - Extensions".
- Disable "Track changes" in "Tools - Options - Text Editor".
- Disable "Rich client visual experience" in the "Options - Environment".
- Disable IntelliTrace (Ultimate edition only) - in the "Tools - Options - IntelliTrace - General"
- Disable "Track Active items" - "Tools - Options - Projects and Solutions - Track Active Item in Solution Explorer".
- Disable ReSharper IntelliSense in the ReSharper options
- Disable ReSharper "Analyse errors in whole solution"
- Disable editing enhancements in ReSharper - in ReSharper options turn off all the boxes under "Options - Environment - Editor"
- 在“工具 - 扩展”下禁用未使用的扩展。
- 在“工具-选项-文本编辑器”中禁用“跟踪更改”。
- 在“选项-环境”中禁用“富客户端视觉体验”。
- 禁用 IntelliTrace(仅限终极版) - 在“工具 - 选项 - IntelliTrace - 常规”中
- 禁用“跟踪活动项”-“工具-选项-项目和解决方案-在解决方案资源管理器中跟踪活动项”。
- 在 ReSharper 选项中禁用 ReSharper IntelliSense
- 禁用 ReSharper“分析整个解决方案中的错误”
- 禁用 ReSharper 中的编辑增强功能 - 在 ReSharper 选项中关闭“选项 - 环境 - 编辑器”下的所有框
This is a snippet from thisblog-post
这是这篇博文的片段
回答by OMR
there are a complete procedures & Tips to speed up your Environment provided by resharper it self:
resharper it self 提供了一个完整的程序和提示来加速您的环境:
https://www.jetbrains.com/help/resharper/Speeding_Up_ReSharper.html
https://www.jetbrains.com/help/resharper/Speeding_Up_ReSharper.html
回答by Stu
I'm having the exact same issue, and from the JetBrains site, it looks like they sort-of know about it but aren't admitting anything. Turning off solution-wide analysis does seem to help quite a bit.
我遇到了完全相同的问题,从 JetBrains 网站看,他们似乎知道这件事,但不承认任何事情。关闭解决方案范围的分析似乎确实有很大帮助。

