I have this C# Visual Studio solution that implements a plugin architecture. When building a debug build, I want a couple of plugins to be compiled into the main application. When building a release build, I want these .cs-files to be left alone.
Is there a way I can specify different Build Actions for the plugin files for debug and release builds? I would like it to be set to "Compile" in a debug build and to "None" in a release build.