If you already have a solution and you can build with Visual Studio it is
pretty easy. Just do something like:
Actually, I am using the msbuild task. Nant will use the correct version of
msbuild based on the netframework setting you use. And, msbuild will support
the
Bob,
Thanks for the reply. I am working with a system that has been in place
for a while and many different DLLs are currently being built with CSC.
How different is building with MSBuild as opposed to CSC?
From: Bob Archer [mailto:bob.arc...@amsi.com]
Sent: Monday, January 23, 2012 8:53
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
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