Hi,
Is there a way to include an #If ... directive in my code to enable
conditional compilation based on the framework version?
The idea is to be able to compile the "same" code for both the 1.0 framework
and the 1.1 framework, something like
#If "Framework 1.0 etected" then
DO NOT USE SOME FUNCTION (as it uses some 1.1 only properties of certain
classes)
else
BUILD FOR 1.1
p.s.
To be more specific it's the Fields property of the MailMessage class that
gives me headakes - the Fields property does not exist in the 1.0 framework.
Thanks!
Zarko