How do I speed up visual studio with a large numbe

2019-02-16 10:29发布

This question already has an answer here:

Visual Studio 2005 is very slow with a solution with 21 projects. Any ideas how to speed it up?

8条回答
Lonely孤独者°
2楼-- · 2019-02-16 10:40

I don't have VS open in front of me right now...but its roughly this...

Go to..

Tools > options > Build and release options.

Select - build startup project and dependencies only.

This will significantly speed up the process.

查看更多
放我归山
3楼-- · 2019-02-16 10:41

There are a whole bunch of suggestions in this question: Very slow compile times on Visual Studio. A combination of a few of these will definitely help to some degree

查看更多
我欲成王,谁敢阻挡
4楼-- · 2019-02-16 10:41

a) Buy more memory b) Break up into different solutions c) Upgrade to VS 2008 d) http://geekswithblogs.net/Ahmed_Hussein_blog/archive/2007/11/12/116791.aspx

查看更多
冷血范
5楼-- · 2019-02-16 10:42

Here's some good tips on improving VS compile speed:

  • Disable StyleCop, FxCop or any other code analysis tools
  • Create multiple build configurations, one for each of the tasks you perform and only compile what you need in each particular configuration
  • Remove unneeded MSBuild tasks
查看更多
The star\"
6楼-- · 2019-02-16 10:49

ScottGu has said hard drive speed is one of the most important factors in VS performance. When we got new computers at work recently I requested that they have a second top-of-the-line hard drive. My Development folder is on my D: drive and VS loads and compiles 20+ project solutions in a matter of seconds.

查看更多
来,给爷笑一个
7楼-- · 2019-02-16 10:58

Upgrading to 2008 is worth it for your situation. At my last job, we had 50 projects, and VS 2005 was dog slow. Plus it was a pain to debug (w/ multithreading). The IDE kept blowing up on us. As soon as we upgraded to VS 2008, everything went faster, the compiles went faster (partially because MS implemented a smart parallelization algorithm by the looks of it), it uses less RAM, and is far more stable.

The only regret we had with 2008 is in the C++ end of things (most of our app was VB.Net, some C#, and some C++). The new version of C++ doesn't support Windows NT which we needed to do. The workaround is a postevent that uses an old Edit Bin and sets the version for 4.0.

查看更多
登录 后发表回答