0

I'm curious if there's "default conditional compilation symbols" that are basically automatically defined by the C# compiler. For instance, the compiler framework version, or anything.

I did a cursory check and did not see any defaults.

enorl76
  • 2,562
  • 1
  • 25
  • 38
  • possible duplicate of [Conditional compilation depending on the framework version in C#](http://stackoverflow.com/questions/408908/conditional-compilation-depending-on-the-framework-version-in-c-sharp) – H H Aug 06 '12 at 17:08
  • seems to be right... the answer was "There aren't any built in, but you can supply your own." – enorl76 Aug 06 '12 at 17:37

2 Answers2

0

In project build options You can enable DEBUG and TRACE constants (DEBUG is enabled/disabled based on Active Configuration by default). As far as I know, those are only default constants.

Varius
  • 3,197
  • 1
  • 19
  • 8
0

From this question that asked about a similar issue but asked the question in a different way

There aren't any built in, but you can supply your own.

Community
  • 1
  • 1
enorl76
  • 2,562
  • 1
  • 25
  • 38