Perhaps you can do it on web.config, on compilers
I have a Trace command, you can set any compiler options
<system.codedom> <compilers> <compiler language="c#;cs;csharp" extension=".cs" compilerOptions="/define:TRACE" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4"> <providerOption name="CompilerVersion" value="v3.5"/> <providerOption name="WarnAsError" value="false"/> </compiler> <Compilers>
Compiler options that you can use http://msdn.microsoft.com/en-us/library/6ds95cz0(VS.71).aspx
source share