post build events

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
 
G

Gabriel Lozano-Morán

You could use the $(ConfigurationName) macro to check the project
configuration

Gabriel Lozano-Morán
 
M

Marcel van den Hof

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top