I have look completely in this two msdn article C# Compiler Options Listed Alphabetically and C# Compiler Options Listed by Category for compiler option for specifying the target framework version which can be used in command line building. I got to know that we can specify the framework version in app.config with supportedRuntime element.
Can we use this element(configuration>startup>supportedRuntime) in web.config also(in case of asp.net application) ?
I have not needed to do it with only command line switch. I just asking this question only because of curious to know about it.
/reference:C:\Windows\Microsoft.Net\Framework\v2.0.50727\mscorlib.dllor specify the folder for all references like/lib:"c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5"