I'm trying to pass an additional conditional compilation symbol via devenv (vs2010) on the command line to the C# compiler.
I know it can be done for the C++ compiler through the CL environment variables. Is there something similar possible for C#?
Since this build pass needs to run Code Analysis, I'm stuck with using devenv to launch the build, as far as I know.