I expect spaces will not be the problem. I have NAnt and NAntContrib both in "C:\Program Files". Actually, I have them set up as follows:
NAnt is at "C:\Program Files\DotTools\nant-0.85-nightly". NAntContrib is at "C:\Program Files\DotTools\nantcontrib-0.85-nightly". In my NAnt build files I use the following: <project name="ProjectA" default="get-latest"> <target name="nantcontrib"> <loadtasks assembly="C:\Program Files\DotTools\nantcontrib-0.85-nightly \bin\NAnt.Contrib.Tasks.dll" /> </target> <target name="get-latest" depends="nantcontrib"> <vssget user="xxxx" etc.... /> </target> </project> Anyway, it works for me too and I have spaces in my path. I have seen the "One or more of the types in the assembly unable to load." error message before, but I can't remember why or what I did to fix it. I'll post again if I remember what happened before. I'm wondering about NAntContrib living underneath the NAnt root... Does anyone know whether this could be causing problems? My intuition tells me that it should not cause problems but my mind keeps reminding me to question everything! --Edwin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felice Vittoria Sent: Monday, September 20, 2004 10:30 AM To: murty dronamraju Cc: Gert Driesen; [EMAIL PROTECTED] Subject: RE: [SPAM] - Re: [Nant-users] Problems with vssget - Email found in subject Murty I'm not sure what else it could be :( Hopefully someone else may be able to answer that. However, in the meantime, I'll continue to look. Just out of curiosity .. what would happen if you placed the directories outside of C:\Program Files? Also, could you try a directory without a space? Felice -----Original Message----- From: murty dronamraju [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:20 PM To: Felice Vittoria Cc: Gert Driesen; [EMAIL PROTECTED] Subject: [SPAM] - Re: [Nant-users] Problems with vssget - Email found in subject Felice: I checked the path to NAnt.contrib.tasks.dll and it is Ok..I have two separate folders now, one for the nightly build and the other for nant-contrib. Still no luck..Any ideas.. Thanks in advance, Murty On Mon, 20 Sep 2004 11:25:24 -0500, Felice Vittoria <[EMAIL PROTECTED]> wrote: > Murty, > > I'm using the latest NAnt (Sep 19) and latest NAntContrib (Sep 19). vssget works fine for me. You shouldn't need to build NAntContrib and if you are using the loadtasks (preferred method), then you shouldn't need to dump NAntContrib's bin into NAnt's bin. > > Is the path to NAnt.Contrib.Tasks.dll correct on your PC? > > Felice > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of murty > dronamraju > Sent: Monday, September 20, 2004 10:50 AM > To: Gert Driesen > Cc: [EMAIL PROTECTED] > Subject: Re: [Nant-users] Problems with vssget > > > > > Gert: > I am using the latest versions of the nightly and the > contrib ( Sept 19) and still having the same problem with vssget. BTW > does the nant-contrib need to be built using nAnt or is dumping the > contents of the bin folder of nantcontrib into the nAnt bin > sufficient? > > Thanks in advance for your help. > > Regards, > Murty > > On Sun, 19 Sep 2004 23:35:16 +0200, Gert Driesen > <[EMAIL PROTECTED]> wrote: > > Hi Murty, > > > > Can you try using today's nightly build of both NAnt and NAntContrib ? > > > > Gert > > > > > > > > ----- Original Message ----- > > From: "murty dronamraju" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Sunday, September 19, 2004 10:03 PM > > Subject: [Nant-users] Problems with vssget > > > > > Hi All: > > > I am having issues getting the vssget task to work in my > > > NAnt build script. I am using the nant-0.85-nightly build along with > > > the latest build from nant-contrib. > > > Any input will be highly appreciated. Here's a snippet of my Nant file: > > > > > > --> > > > <target name="Initialize" description="NAnt initialization of VSS, > > > SOS, Build, Project, and Mail variables"> > > > > > > <loadtasks assembly="C:\Program > > > Files\nant-0.85-nightly\nant-contrib\bin\NAnt.Contrib.Tasks.dll" /> > > > <sysinfo verbose="true" /> > > > </target> > > > > > > target name="Build" depends="Initialize"> > > > <vssget > > > user="xxxxx" > > > password="xxx" > > > localpath="C:\XXX" > > > recursive="true" > > > replace="true" > > > writable="true" > > > dbpath="z:\xxxx\srcsafe.ini" > > > path="$/xxxx/Src/xxxxx" > > > /> > > > </target> > > > > > > I get the following error message: > > > "C:\Program Files\nant-0.85-nightly\Project.build(18,4): > > > Failure scanning "C:\Program > > > Files\nant-0.85-nightly\nant-contrib\bin\NAnt.Contrib.Tasks.dll" for > > > extensions. > > > One or more of the types in the assembly unable to load. > > > > > > > > > Thanks in advance, > > > > > > Murty > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > > > Project Admins to receive an Apple iPod Mini FREE for your judgement on > > > who ports your project to Linux PPC the best. Sponsored by IBM. > > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > > > _______________________________________________ > > > Nant-users mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/nant-users > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users