title: VS2010: Can we have multiple if in post-build event?
body: <p>Can we have something like this:</p>
  
  <pre><code>if "Debug"=="$(ConfigurationName)"
  (
    goto :nocopy
  )
  else if "Release"=="$(ConfigurationName)"
  (
    del "$(TargetPath).config"
    copy "$(ProjectDir)\App.Release.config" "$(TargetPath).config"
  )
  else if "ReleaseBeta"=="$(ConfigurationName)"
  (
    del "$(TargetPath).config"
    copy "$(ProjectDir)\App.ReleaseBeta.config" "$(TargetPath).config"
  )
  else if "ReleaseProduction"=="$(ConfigurationName)"
  (
    del "$(TargetPath).config"
    copy "$(ProjectDir)\App.ReleaseProduction.config" "$(TargetPath).config"
  )
      :nocopy
  </code></pre>
  
  <p>I've tried it but it doesn't work. The error code is 255.</p>