I hate hard coding the path! The environment variable 'VS71COMNTOOLS' contains the path to visual studio 2003. I created a BAT file because I could not get the EXEC task to resolve the %VS71COMNTOOLS% usage.
----- Begin vs_Build.bat -------------------- call "%VS71COMNTOOLS%vsvars32.bat" DevEnv %1 /build %2 ----- End vs_Build.bat ---------------------- This works but is a little awkward. Can anyone suggest a good way to make use of the environment variable? Thanks, Cash [EMAIL PROTECTED] perotsystems 972-577-5842 - office -----Original Message----- From: Michael Mowry [mailto:[EMAIL PROTECTED] Sent: Saturday, November 29, 2003 11:29 PM To: [EMAIL PROTECTED] Subject: [Nant-users] Re: vb web service Evan, I also had that problem. I basically made sure that all VS.NET environmental variables were set by running vsvars32.bat and that seemed to fix the problem. <exec program="C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat" verbose="true" failonerror="true" /> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, November 29, 2003 9:18 PM To: [EMAIL PROTECTED] Send Nant-users mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nant-users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Nant-users digest..." Today's Topics: 1. Re: vb web service (Scott Hernandez) --__--__-- Message: 1 From: "Scott Hernandez" <[EMAIL PROTECTED]> To: "Evan Watson" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: Re: [Nant-users] vb web service Date: Sat, 29 Nov 2003 08:31:24 -0800 Yes, this should go to the dev list. Any stack trace based error, like this, should go to the dev list. :) Also, if possible, you should attach a small sample of the build file and any dependent files that would be needed to reproduce the error case. ----- Original Message ----- From: Evan Watson Sent: Thursday, November 27, 2003 3:47 PM Hi, I have been having quite a bit of difficulty getting nant to build a vb.net web service. Im running the latest nightly build with .net 1.1 and my build script just points to the vbproj file. I am also getting problems with a new project when I uncomment the hello world function. Firstly has anyone had any success with nant and vb web services. Secondly, and this should go to the developers list, does anyone have an answer for this error im getting. [snip] at NAnt.Core.Project.Run() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp272.tmp\s rc\NAnt.Core\Project.cs:line 778 Please send bug report to [EMAIL PROTECTED] --__--__-- _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users End of Nant-users Digest ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
