[HowTo] Define a constant globaly in C# (like DEBUG)

You can add the define compiler switch in your IDE.

  1. Open the project’s Property Pages dialog box.
  2. Click the Configuration Properties folder.
  3. Click the Build property page.
  4. Modify the Conditional Compilation Constants property

Leave a Reply