I wasn't paying attention and originally sent this to Gert instead of the list. Apologies.
 
I'm interested in your PS comment. I thought that the NAntContrib assemblies were all private so I just copied them to the nant\bin folder. Should I have installed them in the GAC or is there an entry in the nant.exe.config that I missed?
 
What approach should I have used?


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert Driesen
Sent: Wednesday, December 08, 2004 11:26 PM
To: 'Andy Eunson'; [EMAIL PROTECTED]
Subject: RE: [Nant-users] Invalid element <vssget>. Unknown task or datatype.

Hi Andy,
 
I noticed that you copied the NAnt.Contrib.Tasks assembly to your nant bin directory. Did you also copy all other files (eg. Interop.WindowsInstaller.dll) from the NAntContrib bin directory to the NAnt bin directory ?
 
Gert
 
PS. This is why I discourage copying the NAntContrib binaries to the NAnt bin directory ;)


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Eunson
Sent: donderdag 9 december 2004 6:23
To: [EMAIL PROTECTED]
Subject: [Nant-users] Invalid element <vssget>. Unknown task or datatype.

 

This appears to be a 1.1 related problem. I had a very similar issue with the solution task in nant .85 using the dist assemblies on a machine that only has NET1.1. The solution there was to use the 85RC1 dist to build the 85RC1 source (you can’t build 85 with 84). Once I did that solution magically starts to work.

 

Nonetheless this is what I’m seeing when using 85RC1 built locally with NET1.1 and NantContrib Dist assemblies.

 

 

[loadtasks] Failure scanning "C:\Program Files\nant\bin\NAnt.Contrib.Tasks.dll" for extensions. One or more of the types in the assembly unable to load.

Buildfile: file:///D:/Data Files/Code/Solutions/SC.MasterBuild/Test/Test.build

Target(s) specified: Get_Source

 

 

Get_Source:

 

     [echo] Getting Phoenix Source tree...

 

BUILD FAILED

 

D:\Data Files\Code\Solutions\SC.MasterBuild\Test\Test.build(8,4):

Invalid element <vssget>. Unknown task or datatype.

 

 

I tried to build NantContrib using 1.1 and get the following

 

 

[loadtasks] Failure scanning "C:\Program Files\nant\bin\NAnt.Contrib.Tasks.dll" for extensions. One or more of the types in the assembly unable to load.

Buildfile: file:///C:/Program Files/nant/NANTCONTRIB/Source/nantcontrib-0.85-nightly/NAntContrib.build

Target(s) specified: test

 

 

init:

 

 

debug:

 

 

set-framework-configuration:

 

 

set-net-1.1-framework-configuration:

 

 

BUILD FAILED

 

C:\Program Files\nant\NANTCONTRIB\Source\nantcontrib-0.85-nightly\NAntContrib.build(42,14):

Please pass the folder containing the NAnt build on the commandline as a property (-D:nant.dir=???).

 

Total time: 0.2 seconds.

 

I try “nant –d:nant.dir=C:\progra~1\nant\bin” but that doesn’t work. What am I missing?

Reply via email to