title: Visual Studio 2008 Post Build event -- only run on Rebuild
body: <p>In Visual Studio 2008 we run a post build event which calls NANT and in turn creates our config files.</p>
  
  <p>e.g. </p>
  
  <pre><code>if $(SolutionDir) == . GOTO end
  nant -buildfile:$(SolutionDir)default.build create..web.config
  </code></pre>
  
  <p>Is there a way to run this only on ReBuild?</p>