Framework Version Directive

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Is there a version directive that I can use to determine what version I am
compiling under?

i.e.

#if FRAME_WORK_VERSION < 2

#ENDIF
 
Is there a version directive that I can use to determine what version I am
compiling under?

Which language? C# doesn't provide anything like that, you'd have to
define the sybol yourself.



Mattias
 
Each compiler is independent of each other. You probably want to create a
set of CMD/BAT files to do this for you, changing the paths of the different
..NET Framework versions. Note that this is probably only doable for VB and
C# only.
 
Back
Top