You can also try changing the framework related properties in your nant script
 
<property name="nant.settings.currentframework" value="net-2.0" dynamic="true" verbose="true" />

HTH
<Ram/>






> From: [EMAIL PROTECTED]
> To: nant-developers@lists.sourceforge.net
> Date: Thu, 9 Nov 2006 10:12:21 +1030
> Subject: [nant-dev] .Net 2.0 Task dlls
>
> 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

-------------------------------------------------------------------------
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