How to improve Performance of Visual Studio 2010?


In this article I have explained, how to speed up our visual studio editor operations. Some times application takes long time to build resources but this is due to our settings in visual studio editor. Here I elaborate how to improve performance of visual studio editor.

Improve Performance of Visual Studio 2010



History


You might have heard "I have a 3 GB RAM with I3 processor but what the problem with visual studio editor?"
This issue I faced in last week and find some nice fixes for it

Introduction


Some time due to editor default setting we missed it's better speed and performance. This article gives you some good fixes that will allow
your visual studio editor to run faster.
here we go,

Trick 1


Normally visual studio takes long time to open it's editor. do you want to see it's slowness click on Start --> Run and type DEVENV
it will take a long time to open studio.Now our trick will work click on Start --> Run type "DEVENV /nosplash"

Splash



---------------------------------------------

Trick 2


You can turn off the HTML and CSS validation from visual studio that makes easy to find the actual errors in the Error list occurred at compile time.
To turn it Off, open visual studio environment --> Tools Menu --> Options --> Text Editor -->

1. Turn off HTML validation: HTML -> Validation -> Untick 'Show errors'
2. Turn off CSS validation: CSS -> Miscellaneous -> Untick 'Detect errors'.


Texteditor



---------------------------------------------

Trick 3


check Go to Tools --> Options --> project and solutions --> Build and run --> tick options "Only build startup projects and dependencies on Run"
This will help big projects where we can save the binding time and Prevent non-dependent project compilation

Build_run



---------------------------------------------

Trick 4


Disable Visual experience.
You can boost your visual studio performance by unchecking the "Automatically adjust visual experience based on client performance"
you can find this option in Tools --> Options --> Environment --> general

Visual_exp



---------------------------------------------

Trick 5



Visual Studio 2010 runs faster when the Windows Automation API 3.0 is installed. you can check the following
MSDN link for more details,
http://support.microsoft.com/kb/981741

---------------------------------------------

Trick 6



At the startup of visual studio always show empty environment. This will stop visual studio from searching last saved project or file.
to set this you should go Tools --> Options --> Environment --> Startup

Empty_env



---------------------------------------------

Trick 7



while closing your project, close all open web/windows form it will speed up your editor while opening project next time
If the number of open forms are more then you can use "Close all but this facility" of visual studio, it will close all the forms except active form.
here is screen shot.

close_all



---------------------------------------------

Trick 8



If your shift your project location with all it's directories then after relocation, Delete all Break points in it and then reinsert again,
it will help you to debug faster.
If the debugger are replaced then they are search for old location address for PDB file.

---------------------------------------------


Trick 9


Empty your Recycle Bin.
This may be the funny but an important tip that affect visual studio performance

---------------------------------------------

This will help you to boost your Visual studio performance.

There are so many other hardware and software factors that affecting visual studio performance.
The DirectX version, Operating system, Processor type, RAM, Cache memory and other factors are affecting.


Thanking You
suggestions are most welcome.


Comments

Author: Vijayalakshmi G M12 Apr 2012 Member Level: Gold   Points : 0

Hi,

This is really very good article.

Nice Tips to improve the performance of the Visual Studio 2010 Applications.

Guest Author: 22 May 2012

Simple but very useful and powerful points to enhance the performance of Visual Studio 2010

Author: Devaraj T N16 Jun 2012 Member Level: Gold   Points : 1

Hi Prasad kulkarni,

the tricks to improve Performance of Visual Studio 2010 are excellent and it is very useful.You are posting wonderful tricks and techniques.Keep up your good work.

Regards,
Devaraj T.N



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: