Compile with Nant for .net 2 and 1.1?

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?
 
W

W. Jordan

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"/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top