title: In Visual Studio, how to make the incremental build just as fast the debug-session-triggered build?
body: <p>I have a Visual Studio 2010 solution with 40-ish projects in it (C# + one C++/CLI). I have Visual studio configured such that it builds the whole solution before starting debugging. </p>
  
  <p>Now suppose I change the code for a 'leaf' project on which no other project depends.  When I explicitly build the solution incrementally (<kbd>F6</kbd> or <kbd>F7</kbd>), I see a build output line for each project in my solution. The up to date projects are not being recompiled though. For instance, you don't see warnings for the projects. It does take time (maybe 5-10 seconds). </p>
  
  <p>Now suppose I change the same file again, and start debugging (<kbd>F5</kbd>). Now something different happens. Only the changed project is recompiled(takes 1 sec or so), and then debugging starts almost instantaneous. </p>
  
  <p><strong>It seems that Visual Studio has two strategies for incremental build, and the best optimized one seems to be available only as a by-product of a debugging session.</strong></p>
  
  <p>Question:</p>
  
  <p>Is there a way to invoke this more optimized build strategy manually, without starting a debug session?</p>