From: Andy E. <an...@eu...> - 2004-12-09 05:23:58
|
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? |