I know that I can use preprocessor directives in C# to enable/disable compilation of some part of code.
C#
If I define a directive in the same file, it wor
You can do it for the entire project from Project|Properties.
Afaik there is no way to use include files in C# so for groups of files there is no easy solution.