I have some .cs files that are shared amongst several projects and if possible I would like to be able to #define away things that are part of the 3.5 framework if I am attempting to compile to the 2.0 framework. Is there a #define that is already built in to do this?
Share
You’ll need to define constants based on $(TargetFrameworkVersion).
Have a look at this question.