post build events

  • Thread starter Thread starter Boni
  • Start date Start date
B

Boni

Dear All,
I am wondering, that I can't in C# have different post build events for
debug and release. My goal is to copy different files after the build. If I
build release I have to copy in other directory.
Did I missed something,
Thanks,
Boni
 
You could use the $(ConfigurationName) macro to check the project
configuration

Gabriel Lozano-Morán
 
Dear All,
I am wondering, that I can't in C# have different post build events for
debug and release. My goal is to copy different files after the build. If I
build release I have to copy in other directory.
Did I missed something,
Thanks,
Boni

Hi Boni,

I believe this is not possible with the VS.IDE. You might be better of
using a tool like NANT (http://nant.sourceforge.net/) to accomplish just
that.

Kind regards,

Marcel van den Hof
 
Back
Top