Specifying Debug vs. Release post-build steps in VS.NET

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: bnc mag (bnc_uconn_at_yahoo.com)
Date: 11/08/04


Date: Mon, 08 Nov 2004 09:42:12 -0800

Hello,

Visual Studio 6 allows users to specify seperate post-build steps to
perform on Debug and Release builds. I am trying to do the same thing
in C#.NET 2003, but it appears as though I only get to specify *one* set
of post-build steps, regardless of whether I am building in Debug or
Release.

I would like to copy my resulting DLLs into respective "Debug" and
"Release" directories elsewhere on my machine, hence my need for such a
feature.

I know that the $(TargetPath), etc... macros change dynamically
depending on your current build configuration, but that's of no help to
me. I need to be able to specify either the "debug" directory on a
debug build, or the "Release" directory on a release build.

Does anyone know how this is done in VS.NET?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: AddedMissingFiles :: Strange linker errors (LNK2005) in Release build only .... why ??
    ... Is there a way to specify that duplicate symbols are "ok" or to force the ... >> all seems fine in the debug build. ... >> the MSVCR71.dll has internally linked to the malloc/free implementations ... > Internal functions do call malloc/free ...
    (microsoft.public.vc.stl)
  • Re: Use of the %NULLIND built-in function
    ... Keyword ALWNULL must be specified in the DDS-Description. ... Did you specify ALWNULLin the H-Specs? ... As I was running a program through debug where I had a scenario ...
    (comp.sys.ibm.as400.misc)
  • Re: problem with release DLL.
    ... if i provide .def, .xml and some other files with both debug and release ... fine with debug version,but crashes with release version. ... When you specify the files, do you specify the full path (e.g. ... The relative path changes depending on how the program is run. ...
    (microsoft.public.vc.mfc)
  • Re: crash when passing iterators between modules
    ... FWIW we specify ignore library MSVCRT.Lib in our ... debug builds under the linker options for "ignore specific library". ...
    (microsoft.public.vc.stl)
  • Re: Problem with Registering filter on windows mobile
    ... The fix is to modify C/C++ preprocessor definitions in the ... unresolved external because it's only defined in debug builds, ... the project using the visual studio wizard it worked, ... Windows CE Multimedia and Graphics ...
    (microsoft.public.windowsce.app.development)