Hello Mark,
Discussed number of times
http://groups.google.com/group/micro...f66c2a86207157
There is no build symbols for this
use either runtime time Environment.Version method, or Project Properties/Build
settings
---
WBR,
Michael Nemtsev [C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
M> Hi...
M>
M> How would one figure out which framework level a build was in? I've
M> got to produce some projects that will be compiled for use in both
M> 1.1 and 2.0 and I'd like to conditionally compile in some features
M> for the 2.0 build that wouldn't be available in the 1.1, but I'm not
M> sure if there's a standard way to do it.
M>
M> I can add my own precompiler constant to the project and say
M> #ifdef FRAME20
M> #endif
M> but I was wondering if there might already be a more common solution
M> to the question.
M>
M> Thanks
M> -Mark