I have found the best solution was to use msbuild to actually do the compile
called from the exec task.
BOb
From: Scott Pennington [mailto:spenning...@prosper.com]
Sent: Monday, January 23, 2012 11:23 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] using CSC for both 3.5 and 4.0 within the same build
process
We are starting to have .NET 4.0 Framework Projects that will need to be built.
We currently build by using the CSC tag and not using the project files.
So I will need to be able to build csc with either 4.0 or 3.5 depending on the
dll. we are using NAnt version 0.91
Thanks for any help. I will post to the list what I finally get to work.
Scott Pennington
Senior Software Engineer
Prosper Marketplace, Inc.
111 Sutter Street, 22nd Floor
San Francisco CA 94104
www.prosper.com<http://www.prosper.com/>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users