RE: [Nant-users] Framework Targeting

2003-07-21 Thread Anthony LoveFrancisco
Are use using tlbimp via the exec task, or the tlbimp task. If the latter, then I think it would be better if you fixed the tlbimp task (and send us the patch), rather than putting another workaround. The beauty of Nant is the minimal set of configuration that needs to be done out of the box. (I'm

[Nant-users] Targeting Multiple Versions of .NET framework

2003-07-21 Thread Mark Priest
Hi, I added a page to the Wiki at http://nant.sourceforge.net/wiki/index.php/Specifying%20.NET%20Framework%20V ersions that explains how to target different versions of the .NET Framework with Nant. Please take a look at it and make sure I got it right. Thanks, Mark - Original Message

Re: [Nant-users] Framework Targeting

2003-07-21 Thread Ian MacLean
Kevin, the good news is that tlbimp is being moved into nant from nantcontrib and is now framework aware - meaning that you will not have to have tlbimp.exe on the path. This is a post 0.83 change though. Ian Thank you that did the trick. Unfortunately our project is using tlbimp which does

[Nant-users] Crete HTML file from XML and Transform

2003-07-21 Thread Tony Hamill
Hi,     I have a short question regarding Nunit integration. I want to create a HTML file from my NUnit Console command within a Nant build file. Does anyone know how to write the contents out to a HTML file??     I currently have           This produces outout to the screen, I want this in

Re: [Nant-users] Using multiple versions of framework

2003-07-21 Thread Mark Priest
Daniel, Thanks. I see this is a new flag in 0.8.3. I am using 0.8.2. Thanks, Mark - Original Message - From: "Daniel Nguyen" <[EMAIL PROTECTED]> To: "'Mark Priest'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 21, 2003 4:43 PM Subject: RE: [Nant-users

RE: [Nant-users] Using multiple versions of framework

2003-07-21 Thread Daniel Nguyen
Mark, -k (or actually /k) flag in Nant version 0.8.3 means -defaultframework. If you type "nant -help" in the command line, you will see it. Hope this help. Daniel -Original Message- From: Mark Priest [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 3:24 PM To: [EMAIL PROTECTED];

Re: [Nant-users] Using multiple versions of framework

2003-07-21 Thread Mark Priest
Jarek, There does not appear to be a -k flag for Nant.exe. What did you mean by using the -k flag? Thanks, Mark a.. From: Jaroslaw Kowalski b.. Subject: Re: [Nant-users] Using multiple versions of framework c.. Date: Thu, 10 Jul 2003 13:41:48 -0700

RE: [Nant-users] problem with 0.8.3rc1 on VS.NET 2003

2003-07-21 Thread Arild Fines
[EMAIL PROTECTED] wrote: > Subject: [Nant-users] problem with 0.8.3rc1 on VS.NET 2003 > > Unhandled Exception: System.Configuration.ConfigurationException: > Error loading XML file c:\winnt\microsoft.net\fra > ework\v1.0.3705\Config\machine.config Request for the permission of > type System.Securi

RE: [Nant-users] problem with 0.8.3rc1 on VS.NET 2003

2003-07-21 Thread Medcoff, Charles
> What you (of course) need to do is comment out the version="v1.0.3705" /> line in NAnt.exe.config(line 121). The other line I > referred to is about what framework NAnt TARGETS, not the one it runs > against. That did the trick. Thanks. --

RE: [Nant-users] problem with 0.8.3rc1 on VS.NET 2003

2003-07-21 Thread Arild Fines
[EMAIL PROTECTED] wrote: > > Unhandled Exception: System.Configuration.ConfigurationException: > Error loading XML file c:\winnt\microsoft.net\fra > ework\v1.0.3705\Config\machine.config Request for the permission of > type System.Security.Permissions.StrongNameIden > ityPermission, mscorlib, Versi

RE: [Nant-users] Framework Targeting

2003-07-21 Thread Miller, Kevin
Thank you that did the trick. Unfortunately our project is using tlbimp which does not work unless the framework tools are in the path. So I still need vcvars32.bat settings present. -Original Message- From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 11:14

Re: [Nant-users] Framework Targeting

2003-07-21 Thread Jaroslaw Kowalski
Try asis="true" instead of frompath="true". This is based on the fact that csc.exe from a particular CLR is able to locate the correct system libraries, when you don't specify the path name. I think it's good enough. I believe, that unless you want to rely on your PATH variable, you should avoi

RE: [Nant-users] Framework Targeting

2003-07-21 Thread Erv Walter
Here are my (non-official) thoughts: Setting currentframework and/or changing the default in nant.exe.config is the correct thing to do. Along with that, you should remove the frompath="true" attributes. I can't think of a scenario where you would want frompath="true" on a reference. For your

[Nant-users] Framework Targeting

2003-07-21 Thread Miller, Kevin
We are targeting the 1.1 framework. We changed our build scripts to include: However I noticed that 1.0 dlls were still being referenced for assemblies referenced via frompath="true". The cause was the fact that I had the builds running from a ".NET command prompt" or a command environment with

RE: [Nant-users] Ant vs. NAnt

2003-07-21 Thread rbraswell
Title: RE: [Nant-users] Ant vs. NAnt Hmm. I guess I have some more homework to do. I am not familiar with Mono. I'll have to check it out.   Thanks to all for the information! I may have some more questions soon.   Ryan -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL P

Re: [Nant-users] Ant vs. NAnt

2003-07-21 Thread Berin Loritsch
Erv Walter wrote: How will you be "porting" your .NET code to Linux and Mac? Mono? If so, Nant works on Linux with Mono today, and I assume it would work on Mac as well as soon as Mono works on Mac (if it doesn't already). The main difference between Nant and Ant is what tasks are available

Re: [Nant-users] (no subject)

2003-07-21 Thread Ian MacLean
This is correct. Hopefully when we get a proper installer it will prompt the user at install time as to which installed framework version to use by default. Ian You probably have the 1.1 version of the .NET framework installed but Nant uses the 1.0 version by default. The version of the .NET f

RE: [Nant-users] Ant vs. NAnt

2003-07-21 Thread Erv Walter
Title: RE: [Nant-users] Ant vs. NAnt How will you be "porting" your .NET code to Linux and Mac?  Mono?  If so, Nant works on Linux with Mono today, and I assume it would work on Mac as well as soon as Mono works on Mac (if it doesn't already).   The main difference between Nant and Ant is wha

Re: [Nant-users] (no subject)

2003-07-21 Thread Eric Fetzer
I faced this same problem recently.  I had to go in to the dos prompt via Visual Studio .NET Command Prompt (in Visual Studio .NET Tools).  I'm guessing you could add something to your path, but haven't spent the time yet.mlkxr6 <[EMAIL PROTECTED]> wrote: BUILD FAILED C:\nant\NAnt.build(54,10)

RE: [Nant-users] Ant vs. NAnt

2003-07-21 Thread rbraswell
Title: RE: [Nant-users] Ant vs. NAnt At the moment we use MS Dev 6.0, but we will be converting to .Net soon. Our product line is currently windows only, but we intend to port to Linux and Mac in the near future. I don't yet know what the development environment will look like at that point.