Monday, October 17, 2011

Remove Visual Studio autogenerated control from Toolbox

If you have a project that uses a lot of visual database components, you will see that those components are auto generated and present in the toolbox causing Visual Studio to run slower. To get rid of those components go to: Tools - Options - Windows Form Designer and set AutoToolboxPopulate to false and restart Visual Studio

Make Visual Studio 2010 use more than 2GB of RAM

Tested on Windows 7 Ultimate x64:
  1. Make a backup of 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devaenv.exe'
  2. Add 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin' without quotes to PATH variable
  3. Open cmd under: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE
  4. Run in cmd: 'editbin /LARGEADDRESSAWARE devenv.exe' without quotes
  5. Restart