PC Review


Reply
Thread Tools Rate Thread

Compile with Nant for .net 2 and 1.1?

 
 
W. Jordan
Guest
Posts: n/a
 
      31st Oct 2005
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?


--

Best Regards,
W. Jordan




 
Reply With Quote
 
 
 
 
W. Jordan
Guest
Posts: n/a
 
      31st Oct 2005
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"/>


--

Best Regards,
W. Jordan




 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OT: Nant + VB 3.0 / 3.0 Rory Becker Microsoft VB .NET 2 21st Nov 2007 01:02 PM
How to compile Web Reference project using NAnt Anbu Microsoft Dot NET Framework 1 30th Oct 2006 09:11 PM
How to compile resource files via Nant? Brett Romero Microsoft C# .NET 2 31st May 2006 11:14 PM
NAnt for .net 2.0 sireesha.parvatham@gmail.com Microsoft ASP .NET 1 27th Apr 2006 04:47 PM
Running nant to compile csc project emferrari@gmail.com Microsoft C# .NET 4 24th Jan 2006 03:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:59 PM.