Monday, 1 October 2012

Solve VS2010 rebuild on every F5.



Open %PROGRAMFILES%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config

After the </configsections> line, add:

<system.diagnostics>
  <switches>
    <add name="CPS" value="4" />
  </switches>
</system.diagnostics>

Restart Visual Studio

Open up DbgView (http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx)

make sure it's capturing debug output

hit F5 in Visual Studio.

Search the debug log for any missing include files.