Debug-only classes and resources in visual studio - is it possible?

后端 未结 4 1858
猫巷女王i
猫巷女王i 2021-01-03 02:56

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

4条回答
  •  感情败类
    2021-01-03 03:30

    You can use Conditional attribute as well. This article describes Conditional Compilation

提交回复
热议问题