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

Reply via email to