I'm getting the
following error on using the Zip Task in NAnt v .85 rc 3 April 20, 2005 build.
Any help on how to resolve this would be great. Thanks.
<zip
ziplevel="9"
zipfile="${backup.dir}\${build.date}_bin.zip">
<fileset basedir="${bin.dir}">
<include name="*.*" />
</fileset>
<fileset basedir="${bin.dir}">
<include name="*.*" />
</fileset>
</zip>
INTERNAL
ERROR
System.IO.FileLoadException: The located assembly's
manifest definition with name 'ICSharpCode.SharpZipLib' does not match the
assembly reference.
File name: "ICSharpCode.SharpZipLib"
at NAnt.Compression.Tasks.ZipTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
File name: "ICSharpCode.SharpZipLib"
at NAnt.Compression.Tasks.ZipTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
=== Pre-bind
state information ===
LOG: DisplayName = ICSharpCode.SharpZipLib, Version=0.83.1.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73 (Fully-specified)
LOG: Appbase = C:\NAnt\bin\
LOG: Initial PrivatePath = lib;lib\net\1.1;lib\net
Calling assembly : NAnt.CompressionTasks, Version=0.85.1932.0, Culture=neutral,
PublicKeyToken=null.
===
LOG: DisplayName = ICSharpCode.SharpZipLib, Version=0.83.1.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73 (Fully-specified)
LOG: Appbase = C:\NAnt\bin\
LOG: Initial PrivatePath = lib;lib\net\1.1;lib\net
Calling assembly : NAnt.CompressionTasks, Version=0.85.1932.0, Culture=neutral,
PublicKeyToken=null.
===
LOG:
Private path hint found in configuration file: lib.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: ICSharpCode.SharpZipLib, Version=0.83.1.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73
LOG: Attempting download of new URL file:///C:/NAnt/bin/ICSharpCode.SharpZipLib.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: ICSharpCode.SharpZipLib, Version=0.83.1.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73
LOG: Attempting download of new URL file:///C:/NAnt/bin/ICSharpCode.SharpZipLib.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
Please send bug report to nant-developers@lists.sourceforge.net.
Jack Briggs