April 18, 2015

increase performance of visual studio 2012

Goto Tools>Options>Environment>Add In Security
You will see a checkbox with “allow add in components to load” .Just uncheck it. Restart the IDE and check the lightning speed of the IDE now


https://www.youtube.com/watch?v=XFdBpNc2oaM

try “Tools”-”Options”-”Enviroments and Updates” and disable “Automatically Check for Updates. 
Tools > Options -- CHECK "Show all options"
  • IntelliTrace -- DISABLE
  • HTML Designer -- DISABLE
50% startup speedup
Tools > Options
  • Environment > Add-in/Macros Security -- UNCHECK "Allow Add-in components to load"
Tools > Extension Manager
  • Uninstall all you don't need.
Tools > Options > Environment >
  • Uncheck "Automatically adjust visual experience based on client performance"
  • then uncheck "Enable rich client visual experience".
Tools > Options > Environment > Startup:
  • At startup = "Show empty environment"
Tools > Options > Source Control
  • Set to "None"
Tools > Options > Environment >
  • Uncheck "Automatically adjust visual experience based on client performance"
  • then uncheck "Enable rich client visual experience".
Tools > Options > Environment > Startup:
  • At startup = "Show empty environment"
Tools > Options > Source Control
  • Set to "None"

The only way I know to improve the performance is to disable Edit & Continue option.. Tools -> Options -> Debugging -> Edit & Continue (uncheck the option)

Review a few magical settings (Most impact)

When an ASP.NET website is loaded for the first time, it pre-compiles all your pages and user controls. Once done, everything runs faster. This is great for production websites, but horrible for your development machine. Why?  When programming, you’re usually only modifying a page or two (or back-end code). You’ll iteratively make a change, compile, launch the website, test, and start over; often dozens of times. A two minute compile/load time (like we had) forces you to lose focus and get distracted. The following setting makes pre-compilation more selective, making the first load time massively faster in development scenarios. On my machine, it cut the first load time from around 74 seconds to 6 seconds.
<compilation ... batch="false"> ...</compilation>

Restart your IDE after these and you should observe a noticeable speed increase.