Einar, I don't think NAnt has support of manipulating the PATH env. var.
I would suggest you look into using the EXEC task. This maybe what you need. Felice -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Monday, November 22, 2004 3:02 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Nant-users] Choosing c++ compiler > -----Original Message----- > From: Gert Driesen [mailto:[EMAIL PROTECTED] > Sent: 19. november 2004 20:27 > To: Høst, Einar; [EMAIL PROTECTED] > Subject: RE: [Nant-users] Choosing c++ compiler > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > [EMAIL PROTECTED] > > Sent: vrijdag 19 november 2004 15:37 > > To: [EMAIL PROTECTED] > > Subject: [Nant-users] Choosing c++ compiler > > > > Hi, > > > > I'm trying to compile a managed c++ assembly using my NAnt > > script on a co-worker's computer. He normally programs in > > VC++ 6, but he has installed the .NET SDK 1.1 as well. Now > > the problem is that the NAnt script invokes v12 of the c++ > > compiler instead of v13 as it should. I don't want to mess > > with his path environment variable, so I'm wondering if there > > is any way of telling NAnt where to find the right c++ compiler? > > Nope, not right now. > > Gert > As a workaround, is there any way of manipulating the path environment variable for the duration of the NAnt script? Kind regards, Einar ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users