How to set project wide #def in C#
I have several classes in a project which need to only be in certain builds of the application which are currently not ready for release or debug.

To prevent these classes from being used, I want to set around them this:

    #if USE_MYCLASS
    // Code here...
    #endif

Unfortunately, I don't know how to setup a project wide #def.

Is there a functionality in Visual Studio to set project wide definitions.

If there is, though I don't need it right now, is there a functionality to set solution wide definitions?

If there is no functionality for such (seeing as C# does not have include files, I suppose it's possible), is there any method or plugin of doing this functionality without using the command line compiler and /D?
How to set project wide #def in C#
===

I have several classes in a project which need to only be in certain builds of the application which are currently not ready for release or debug.

To prevent these classes from being used, I want to set around them this:

    #if USE_MYCLASS
    // Code here...
    #endif

Unfortunately, I don't know how to setup a project wide #def.

Is there a functionality in Visual Studio to set project wide definitions.

If there is, though I don't need it right now, is there a functionality to set solution wide definitions?

If there is no functionality for such (seeing as C# does not have include files, I suppose it's possible), is there any method or plugin of doing this functionality without using the command line compiler and /D?