G
Guest
Hi,
Does 2005 has inbuild pre-precessing directive, So I don't have to define
mine. Basically I can use it to find out code is getting compiled with 2005
or 2003 compiler.
Basically I my code, there is some line like:
#if NET2005
allAddrs =System.Net.Dns.GetHostEntry(
System.Net.Dns.GetHostName()).AddressList;
#else
allAddrs =System.Net.Dns.GetHostByName(
System.Net.Dns.GetHostName()).AddressList;
#endif
Than I have to pass the NET2005 directive if I am compiling with 2005 csc
compiler. Instead of that is there any inbuilt directive exist?
Thank you for your time.
Avin Patel
Does 2005 has inbuild pre-precessing directive, So I don't have to define
mine. Basically I can use it to find out code is getting compiled with 2005
or 2003 compiler.
Basically I my code, there is some line like:
#if NET2005
allAddrs =System.Net.Dns.GetHostEntry(
System.Net.Dns.GetHostName()).AddressList;
#else
allAddrs =System.Net.Dns.GetHostByName(
System.Net.Dns.GetHostName()).AddressList;
#endif
Than I have to pass the NET2005 directive if I am compiling with 2005 csc
compiler. Instead of that is there any inbuilt directive exist?
Thank you for your time.
Avin Patel