I've just upgraded to .Net 2.0 and in the process converted my NAnt tasks.

However, NAnt (0.85) cannot read these tasks once compiled into .Net 2.0!

I am specifying -t:net-2.0

using something like:
<loadtasks assembly="Assemblies\Nexus.NAnt.Tasks.dll" />

I get:

BUILD FAILED
C:\Documents and Settings\Tony McCreath\My Documents\Visual Studio
Projects\Nexus\Storm2_1\Nexus.Storm.Build\Release.WebSite.build(23,4):
Failure scanning \"C:\Documents and Settings\Tony McCreath\My
Documents\Visual Studio
Projects\Nexus\Storm2_1\Nexus.Storm.Build\Assemblies\Nexus.NAnt.Tasks.dll\"
for extensions.
The format of the file 'Nexus.NAnt.Tasks.dll' is invalid. 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to