Unloading the project and editing the file manually is technically carried out through the IDE, so I assume that you are looking for a way to do this through the Project Properties, it is not possible .. p>
In C #, you can decorate your class with ConditionalAttribute as follows:
[Conditional("DEBUG")] // or another constant you use in your configurations public class MyClass { ... }
And similar for C ++:
#if DEBUG
However, I would not recommend using it too much, as you may run into problems.
Tore รstergaard
source share