Re: [NAnt-users] nant multitarget support?

2012-09-05 Thread Bob Archer
Yes... use MSBuild... specify target framework of 4.0 to Nant... this will run MSBuild 4.0 which will use the c# 4.0 compiler... but MSBuild will correctly target the .Net 3.5 runtime. BOb From: Stefan Arn [mailto:s...@ims.ch] Sent: Wednesday, September 05, 2012 5:19 AM To: 'nant-users@lists.so

[NAnt-users] nant multitarget support?

2012-09-05 Thread Stefan Arn
I have C# code with 4.0 language features that need a C#4.0 compiler to compile. But the resulting code should run on .NET Framework 3.5. This is possible with VS2010 by simply selecting the target framework 3.5. But I had no luck with NAnt. Is it possible to use the 4.0 compiler and target the