Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
User Journal

Journal SurturZ's Journal: Setting the VS.NET DEBUG conditional compilation constant

To change the DEBUG constant (for #IF DEBUG THEN" conditional compilation statements):

First, set the DEBUG constant value for the configuration you want to use
  1. Project> projectname Properties
  2. Compile tab
  3. At the top, there is a "Configuration" combobox, select the configuration you wish to edit (e.g. Debug or Release)
  4. Click the "Advanced Compile Options..." button
  5. check or uncheck the "Define DEBUG constant" checkbox and then click OK
Now activate the configuration
  6. Build>Configuration Manager
  7. Change the "Active solution configuration" to the configuration you edited

This discussion has been archived. No new comments can be posted.

Setting the VS.NET DEBUG conditional compilation constant

Comments Filter:

THEGODDESSOFTHENETHASTWISTINGFINGERSANDHERVOICEISLIKEAJAVELININTHENIGHTDUDE

Working...