This would already be a workaround.
I was actually looking for the <solution> task. Is there someting similar for this task?
Rergards,
l.a.marco
From: "N. V." <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [Nant-users] Defining : Conditional Compilation Constants Date: Thu, 31 Jul 2003 02:03:56 +0000
Hi Marco,
The define attribute of the <csc> task is what you are looking for.
see http://nant.sourceforge.net/help/tasks/csctask.html for the help of the csc task.
Nick
From: "Marco Ensing" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Nant-users] Defining : Conditional Compilation Constants Date: Wed, 30 Jul 2003 18:00:26 -0700
Hi All,
I'm a bit new to Nant, so this might be a stupid question. (although I am an experienced ant user)
I'm using #if statements to conditionaly compile part of my code like
#if DEBUG //no signing of assembly [assembly: AssemblyKeyFile("")] #else [assembly: AssemblyKeyFile("../../secret.snk")] #endif
How do I define different configurations, and how do I set DEBUG to true
In Vs.NET I also define my own variables like UnitTesting
#if UnitTesting ....
You get the idea, same question here, how can I define these conditional compilation constants
Please inform me, if it is possible with the 0.8.3 rc2 release, or if there is a workaround,
Regards,
Marco
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users