Is it possible to add a class to a project in Visual Studio and have that class only built for the Debug configuration of the project? That is, it will not appear in the Rel
You can use Conditional attribute as well. This article describes Conditional Compilation