Thanks for your help, Felice.  It works.

 

Daniel

 


From: Felice Vittoria [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 12:51 PM
To: Daniel Nguyen; [EMAIL PROTECTED]
Subject: RE: [Nant-users] VSS task

 

Daniel,

 

I'm not sure if NantContrib 0.84 version works w/ NAnt 0.85.   I've never tried it.    You can download the latest build of NAntContrib (0.85) here: http://nantcontrib.sourceforge.net/nightly/builds/

 

There are a few ways of using NantContrib tasks w/ Nant  ( like copying the NantContrib's bin to Nant's bin ).   I don't recommend that.  I would recommend using Nant's loadtasks task.  Below is an example of how I use it my Nant 0.85 scripts that require NantContrib:

 

  <property name="NAnt.Contrib.Tasks.dir"
     value="E:\Build_Tools\nantcontrib-0.85-20041103" />

  <loadtasks assembly="${NAnt.Contrib.Tasks.dir}\bin\NAnt.Contrib.Tasks.dll" />

 

This will enable me to download multiple versions of NantContrib and in my script I will be able to use whatever version.  

 

HTH,

Felice

 

-----Original Message-----
From: Daniel Nguyen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 12:40 PM
To: Felice Vittoria; [EMAIL PROTECTED]
Subject: RE: [Nant-users] VSS task

Thanks Felice.  One more question, does NantContrib 0.84 version work with NAnt 0.85?  If not, when can download the latest version of NantContrib that would work with Nant 0.85?

 

Daniel

 


From: Felice Vittoria [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 11:45 AM
To: Daniel Nguyen; [EMAIL PROTECTED]
Subject: RE: [Nant-users] VSS task

 

Daniel,

 

The vssget task is not obsolete.   It's part of the NantContrib tasks.   You will need to download that too. 

 

Felice

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Daniel Nguyen
Sent: Tuesday, November 16, 2004 11:32 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] VSS task

Hi all,

 

I haven’t been working on NAnt for several months (long story).  Now, that I’m back and trying to run some of old build files and I’m getting the following error:

 

invalid element <vssget>. Unknown task or datatype.

 

Both NAnt versions of 0.84.xxx and 0.85.xxx complain the same thing.  Is the VSSGET task obsolete?  Any help on this is greatly appreciated.

 

 

Daniel

Reply via email to