Compile with Nant for .net 2 and 1.1?

  • Thread starter Thread starter W. Jordan
  • Start date Start date
W

W. Jordan

Hello,

I have gotten both .net 2.0 and 1.1 on my machine.
I use Nant to build my applications. Any Nant users here can
tell me how I can instruct Nant to build with the 2.0 compiler
or the 1.1 compiler? Currently it uses .net 2.0 compiler only...
I can't find out how to switch to 1.1 without modifying the
runtime section of the nant.exe.config file. And is it possible
to build both 1.1 and 2.0 output file at the same time?
 
Well, then.

I googled the answer, setting a property can solve force
nant to build on .net 1.1.


<property name="nant.settings.currentframework" value="net-1.1"/>
 
Back
Top