it would require that the csc call in the solution task introduce an extra DEFINE. this could be useful at large. i don't know if it's there already...
meanwhile, you could create a new solution configuration (eg: nantdebug), place the DEFINE in there, and reference it in the <solution configuration="nantdebug" ... /> just thinkin... /jean > > > It would be great to be able to set additional defines for > the compiler when you build with the <solution> task. We > could for example need a define that sets the AssemblyKeyFile > attribute correct if we build with VS.NET or NANT #ifdef NANT > [assembly: AssemblyKeyFile(@"..\NAnt.key")] > #else > [assembly: AssemblyKeyFile(@"..\..\developers.key")] > #endif > > ...or are there such things already? > Regards > Martin > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/n> ant-users > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users