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 not looking forward to the day when Nant will need an
installer.)

- Ants

| -----Original Message-----
| From: [EMAIL PROTECTED] 
| [mailto:[EMAIL PROTECTED] On Behalf Of 
| Miller, Kevin
| Sent: Monday, 21 July, 2003 10:25
| To: Jaroslaw Kowalski; [EMAIL PROTECTED]
| Subject: RE: [Nant-users] Framework Targeting
| 
| 
| 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/n| ant-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/n| ant-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

Reply via email to