I've also posted this in Nant-Developers mailing list. Not sure if this is a 
bug or something I'm doing incorrectly.  I seem to be running into an issue 
with the unzip task.


************************************
TestBuild2.xml script contents:
************************************
<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://nant.sf.net/release/0.91/nant.xsd"; name="Build AHLTA" 
default="Main">

        <target name="Main">

                <unzip zipfile="..\..\..\Third Party\CAC\CAC.zip" 
todir="..\..\..\Third Party\CAC"/>

        </target>
        
</project>

*************************
Output:
*************************
Copyright (C) 2001-2011 Gerry Shaw
http://nant.sourceforge.net

Buildfile: 
file:///C:/Workspaces/AHLTA/3.7.0/BuildMgmt/BuildBox/Scripts/testbuild2.xml
Target framework: Microsoft .NET Framework 4.0
Target(s) specified: Main


Main:


BUILD FAILED

INTERNAL ERROR

System.IO.FileLoadException: Could not load file or assembly 
'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, 
PublicKeyToken=1b03e6acf1164f73' or one
f its dependencies. The located assembly's manifest definition does not match 
the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, 
PublicKeyToken=1b03e6acf1164f73'
   at NAnt.Compression.Tasks.UnZipTask.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()

Assembly manager loaded from:  
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable  C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: User = AHBUILDINT4\Administrator
LOG: DisplayName = ICSharpCode.SharpZipLib, Version=0.86.0.518, 
Culture=neutral, PublicKeyToken=1b03e6acf1164f73
 (Fully-specified)
LOG: Appbase = file:///C:/Workspaces/AHLTA/3.7.0/Build/nAnt/bin/
LOG: Initial PrivatePath = lib;lib\common\2.0;lib\common\neutral
Calling assembly : NAnt.CompressionTasks, Version=0.91.4277.0, Culture=neutral, 
PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: 
C:\Workspaces\AHLTA\3.7.0\Build\nAnt\bin\NAnt.exe.config
LOG: Using host configuration file:
LOG: Using machine configuration file from 
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: ICSharpCode.SharpZipLib, Version=0.86.0.518, 
Culture=neutral, PublicKeyToken=1b03e6acf1164f73
LOG: Attempting download of new URL 
file:///C:/Workspaces/AHLTA/3.7.0/Build/nAnt/bin/ICSharpCode.SharpZipLib.DLL.
WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.


-----Original Message-----
From: Ryan Boggs [mailto:rmbo...@gmail.com] 
Sent: Tuesday, September 20, 2011 8:04 PM
To: Dominik Guder
Cc: Macdiarmid, James D.; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] UpdateAssemblyVersion Task error

Hi,

On Tue, Sep 20, 2011 at 1:56 PM, Dominik Guder <o...@guder.org> wrote:
> Hi Jim:
>
> "asminfo" should be there, it is part of NAnt.DotNetTasks.dll which
> should be in your bin folder.
> Help:
> http://nant.sourceforge.net/release/latest/help/tasks/asminfo.html
>
> Besides this loadtasks should load also latest Nant.Contrib.Tasks.dll
> What errors do you get? Please try following:
> <loadtasks assembly="c:foo\NAnt.Contrib.Tasks.dll" verbose="true" />
> Do you get any errors?
>
> So far Dominik
>
> PS: We are on the way to a new release.
Very soon, for both NAnt and NAntContrib.
>
> Am 20.09.2011 13:45, schrieb Macdiarmid, James D.:
>> "asminfo" doesn't appear to be in the alpha of .91 however. :)
>>
>> We upgraded to VS2010/TFS2010 and recompiled all of our source code to
>> the .NET 4.0 Framework.  We couldn't get NAnt .85 to build our code so
>> we upgraded to Nant .91.
>>
>> Now we are finding that we can't use Nant Contrib either since it was
>> built against the .85 version.
>>
>> Not sure what to do at this point.
>>
>
>
> --
> The answer to the great question of life,
> the universe and everything is 42 (Douglas Adams)
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to