VS .NET 2003: Debug vs. Release

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • muz dogru

    VS .NET 2003: Debug vs. Release



    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

    *** Sent via Developersdex http://www.developersdex.com ***
  • Peter Lillevold

    #2
    Re: VS .NET 2003: Debug vs. Release

    Hi!

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

    Regards,
    Peter Lillevold

    [color=blue]
    > 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
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    >[/color]



    Comment

    • muz dogru

      #3
      Re: VS .NET 2003: Debug vs. Release



      thx a lot!

      *** Sent via Developersdex http://www.developersdex.com ***

      Comment

      Working...