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 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 AM
To: Miller, Kevin; [EMAIL PROTECTED]
Subject: Re: [Nant-users] Framework Targeting
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 avoid using "frompath" at all.
Jarek
----- Original Message ----- From: "Miller, Kevin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 21, 2003 5:35 PM Subject: [Nant-users] Framework Targeting
We are targeting the 1.1 framework. We changed our build scripts to include:
<property name="nant.settings.currentframework" value ="net-1.1"/>
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 vcvars32.bat run from the VS.NET 2002 version.
I changed the batch file invoking the build to use the new environment variable VS71COMNTOOLS but I imagine this setup is not standard or ideal.
What is the proper way to set a build to go against a given framework? Is setting the nant.settings.currentframework good enough?
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users