for RuBoard |
To use the Debug class, the DEBUG flag must be defined or else the methods of this class will not be compiled into the executable or library. Similarly, to use the Trace class the TRACE flag must be defined. This way you can have different diagnostics for release and debug builds. These constants can be set in the Visual Studio.NET Project Properties Configuration Properties Build Window's conditional compilation constants shown in Figure 13-1.
You can also define the constants in your source files or supply the definition to the compiler's command line.
for RuBoard |