Ask a stupid question, find an answer... #if (NET_1_1) mailMessage.Fields[cdoNamespaceURI + "smtpauthenticate"] = 1; mailMessage.Fields[cdoNamespaceURI + "sendusername"] = smtpUsername; #else Console.Error.WriteLine("[MailLogger] MailLogger.smtp.username" + " is not supported if NAnt is built targeting .NET" + " Framework 1.0."); #endif
Methinks the #if (NET_1_1) is a bit of a problem here! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users