VS .NET 2003: Debug vs. Release

  • Thread starter Thread starter muz dogru
  • Start date Start date
M

muz dogru

Hi,

my question is concerning the visual studio .net 2003 environment. In
C++ projects for example, it is possible to define different postbuild
codes for debug configurations and release configurations. I have tried
to use different postbuild scripts for these two configurations for my
C# project, but VS2003 cannot distinguis the postbuild between the two
configurations. Isn't that possible for C# projects?

thx a lot
 
Hi!

That is true, the pre- and post-build event command line macros are shared
among configurations.
But the $(ConfigurationName) macro will expand to the selected configuration,
thus you can use that to switch behaviour.

Regards,
Peter Lillevold
http://blogs.eternia.cc/peter
 
Back
Top