|
From: Mike M. <mik...@gm...> - 2006-03-03 22:13:44
|
On 3/3/06, Thibaut Barr=E8re <thi...@gm...> wrote: > > afaik you can't define solution wide symbols. > > one trick could be to create a specific solution + projects configuration > for .Net 2.0 as described there: > http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3D113686&SiteID=3D1 > Thanks for the info. I'm not sure I'm a big fan of having dummy configurations in the solution just to set conditional compilation flags, but we might have to pick the lesser of two evils here. I've switched Nant to use the <csc> target and explicitly define NET11 or NET20 which should mean Cruise is properly building the two versions of the library. Not sure what this will mean for someone using an IDE -- I suspect they just won't see the .NET 2.0 generics stuff. Cheers, Mike. |