Re: [nant-dev] zip task Problem loading SharpZipLib

2008-06-22 Thread Gert Driesen
Mark,
 
We ship with #ziplib v0.85.1.271, but the directory in which it's stored
changed since earlier versions of NAnt.
 
You probably extract the lastest version of NAnt into a directory containing
an older version.
 
Gert

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Snyder
Sent: donderdag 19 juni 2008 23:04
To: 'nant-developers@lists.sourceforge.net'
Subject: [nant-dev] zip task Problem loading SharpZipLib



I downloaded the latest version of NAnt and NAntContrib, and tried to use a
simple zip task in my NAnt script.

 

The version of SharpZipLib.dll that comes with NAnt, in path\NAnt\bin\lib,
is 0.84.0.0.  

 

I tried downloading the latest version of SharpZipLib, renaming
ICSharpCode.SharpZipLib.dll to ICSharpCode.SharpZipLib.dll.bak, and putting
the new version in its place, and the new file is version 0.85.4.369.

 

Looking at the error reported below (with Fusion logging turned on for extra
verbosity), apparently NAnt.exe depends upon version 0.85.1.271 of
SharpZipLib and won't load either of the above versions.

 

Anybody know how to resolve this issue?

 

Thanks,

Mark

 

Email me at snyderma at duckcreektech dot com.

 

When I try to build my target, I get:

 

BUILD FAILED

 

INTERNAL ERROR

 

System.IO.FileLoadException: Could not load file or assembly
'ICSharpCode.SharpZ

ipLib, Version=0.85.1.271, Culture=neutral, PublicKeyToken=1b03e6acf1164f73'
or

one of its dependencies. The located assembly's manifest definition does not
mat

ch the assembly reference. (Exception from HRESULT: 0x80131040)

File name: 'ICSharpCode.SharpZipLib, Version=0.85.1.271, Culture=neutral,
Public

KeyToken=1b03e6acf1164f73'

   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: User = EngBuild3X\Administrator

LOG: DisplayName = ICSharpCode.SharpZipLib, Version=0.85.1.271,
Culture=neutral,

 PublicKeyToken=1b03e6acf1164f73

 (Fully-specified)

LOG: Appbase = file:///C:/Program Files/Nant/bin/

LOG: Initial PrivatePath = lib;lib\net\2.0;lib\common\neutral

Calling assembly : NAnt.CompressionTasks, Version=0.86.2898.0,
Culture=neutral,

PublicKeyToken=null.

===

LOG: This bind starts in default load context.

LOG: Using application configuration file: C:\Program
Files\Nant\bin\NAnt.exe.co

nfig

LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v2

.0.50727\config\machine.config.

LOG: Post-policy reference: ICSharpCode.SharpZipLib, Version=0.85.1.271,
Culture

=neutral, PublicKeyToken=1b03e6acf1164f73

LOG: Attempting download of new URL file:///C:/Program
Files/Nant/bin/ICSharpCod

e.SharpZipLib.DLL.

LOG: Attempting download of new URL file:///C:/Program
Files/Nant/bin/ICSharpCod

e.SharpZipLib/ICSharpCode.SharpZipLib.DLL.

LOG: Attempting download of new URL file:///C:/Program
Files/Nant/bin/lib/ICShar

pCode.SharpZipLib.DLL.

WRN: Comparing the assembly name resulted in the mismatch: Minor Version

ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing
terminated.

 

 

 

Please send bug report to [EMAIL PROTECTED]

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


[nant-dev] zip task Problem loading SharpZipLib

2008-06-19 Thread Mark Snyder
I downloaded the latest version of NAnt and NAntContrib, and tried to use a 
simple zip task in my NAnt script.

The version of SharpZipLib.dll that comes with NAnt, in path\NAnt\bin\lib, is 
0.84.0.0.

I tried downloading the latest version of SharpZipLib, renaming 
ICSharpCode.SharpZipLib.dll to ICSharpCode.SharpZipLib.dll.bak, and putting the 
new version in its place, and the new file is version 0.85.4.369.

Looking at the error reported below (with Fusion logging turned on for extra 
verbosity), apparently NAnt.exe depends upon version 0.85.1.271 of SharpZipLib 
and won't load either of the above versions.

Anybody know how to resolve this issue?

Thanks,
Mark

Email me at snyderma at duckcreektech dot com.

When I try to build my target, I get:

BUILD FAILED

INTERNAL ERROR

System.IO.FileLoadException: Could not load file or assembly 'ICSharpCode.SharpZ
ipLib, Version=0.85.1.271, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or
one of its dependencies. The located assembly's manifest definition does not mat
ch the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'ICSharpCode.SharpZipLib, Version=0.85.1.271, Culture=neutral, Public
KeyToken=1b03e6acf1164f73'
   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: User = EngBuild3X\Administrator
LOG: DisplayName = ICSharpCode.SharpZipLib, Version=0.85.1.271, Culture=neutral,
 PublicKeyToken=1b03e6acf1164f73
 (Fully-specified)
LOG: Appbase = file:///C:/Program Files/Nant/bin/
LOG: Initial PrivatePath = lib;lib\net\2.0;lib\common\neutral
Calling assembly : NAnt.CompressionTasks, Version=0.86.2898.0, Culture=neutral,
PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files\Nant\bin\NAnt.exe.co
nfig
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2
.0.50727\config\machine.config.
LOG: Post-policy reference: ICSharpCode.SharpZipLib, Version=0.85.1.271, Culture
=neutral, PublicKeyToken=1b03e6acf1164f73
LOG: Attempting download of new URL file:///C:/Program Files/Nant/bin/ICSharpCod
e.SharpZipLib.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Nant/bin/ICSharpCod
e.SharpZipLib/ICSharpCode.SharpZipLib.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Nant/bin/lib/ICShar
pCode.SharpZipLib.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.



Please send bug report to [EMAIL PROTECTED]
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers


Re: [nant-dev] zip task...

2004-10-09 Thread Giuseppe Greco
Gert,

Thanks, using zipfileset is OK...

j3d.

On Sat, 2004-10-09 at 13:24, Gert Driesen wrote:
 Giuseppe,
 
 The zip task was recently changed to use a zipfileset instead of a 
 regular fileset element.
 
 The zipfileset allows you to set a prefix (directory) for the files in the 
 fileset.
 
 So, you should actually use zipfileset for the global data type.
 
 The error message that was output was wrong. It should have been Attempting 
 to use a fileset reference where a zipfileset is required.. This is now 
 fixed in cvs.
 
 Hope this helps,
 
 Gert
 
 - Original Message - 
 From: Giuseppe Greco [EMAIL PROTECTED]
 To: NAnt Developers [EMAIL PROTECTED]
 Sent: Friday, October 08, 2004 8:55 PM
 Subject: [nant-dev] zip task...
 
 
  Hi all,
 
  does anybody know if there are issues related to the zip task?
 
  This doesn't work anymore:
 
  fileset
   id=archive.set
   basedir=${build.dir}
   include name=../AUTHORS /
   include name=../COPYRIGHT /
   include name=../LICENSE /
   include name=${package.name}/** /
   exclude name=${package.name}/**/*.resources /
  /fileset
 
  ...
 
  zip zipfile=${archive.name}
   fileset refid=archive.set /
  /zip
 
  I always get the following error message:
   Attempting to use a zipfileset reference where a fileset is
required.
 
  I'm using NAnt 0.85 (Build 0.85.1742.0; mono-1.0.unix; dev; 10/8/2004).
 
  Any idea?
  j3d.
 
  -- 
  
  Giuseppe Greco
 
  ::agamura::
 
  phone:  +41 (0)91 604 67 65
  mobile: +41 (0)76 390 60 32
  email:  [EMAIL PROTECTED]
  web:www.agamura.com
  
 
 
 
  ---
  This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
  Use IT products in your business? Tell us what you think of them. Give us
  Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out 
  more
  http://productguide.itmanagersjournal.com/guidepromo.tmpl
  ___
  nant-developers mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/nant-developers
 
  
 
 
 
 ---
 This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
 Use IT products in your business? Tell us what you think of them. Give us
 Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
 http://productguide.itmanagersjournal.com/guidepromo.tmpl
 ___
 nant-developers mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/nant-developers
-- 

Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:www.agamura.com




---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers