Re: using CSC for both 3.5 and 4.0 within the same build process

Bob Archer <[email protected]> Mon, 23 Jan 2012 11:53:19 -0500
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
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:[email protected]]
Sent: Monday, January 23, 2012 11:23 AM
To: [email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users