From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy P. Owens-Boggs
Sent: donderdag 28 april 2005
16:38
To:
nant-users@lists.sourceforge.net
Subject: [Nant-users] Solution
task throws exception on tlbimp word.olb
The solution task is throwing an
exception when importing type libraries from the MS Office.dll’s. The
following are tlbimp –
Office – MSO.dll
VBIDE – VBE6EXT.OLB
EXCEL – EXCEL.exe
Microsoft.Office.Core –
MSO.DLL
Word – MSWORD.OLB
NAnt 0.85 (Build 0.85.1936.0;
nightly; 4/20/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/snapBuild/AlpsNet.build
Target framework: Microsoft .NET
Framework 1.1
Target(s) specified: build
[loadtasks] Scanning assembly
"NAnt.Contrib.Tasks" for extensions.
build:
[solution] Starting solution build.
[solution] Building 'Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces
' [Release] ...
[solution] Building
'Microsoft.ApplicationBlocks.ExceptionManagement' [Release]
...
[solution] Building
'snapWebControls' [Release] ...
[solution] Building 'LoggingObject'
[Release] ...
[solution] Building
'Microsoft.ApplicationBlocks.Data' [Release] ...
[solution] Building
'ALPSNet.Common.DataSets' [Release] ...
[solution] Building 'ALPSNETXBLL'
[Release] ...
[solution] Building 'ALPSNET'
[Release] ...
[tlbimp]
[tlbimp] Unhandled
Exception: System.ArgumentException: Item has
already been added. Key in
dictionary: "2df8d04c-5bfa-101b-bde5-00aa0044de52"
Key being added:
"2df8d04c-5bfa-101b-bde5-00aa0044de52"
[tlbimp] at
System.Collections.Hashtable.Insert(Object key, Ob
ject nvalue, Boolean add)
[tlbimp] at
System.Collections.Hashtable.Add(Object key, Objec
t value)
[tlbimp] at
TlbImp.TlbImp.ParseArguments(String[] aArgs, TlbIm
pOptions& Options, Int32&
ReturnCode)
[tlbimp] at
TlbImp.TlbImp.Main(String[] aArgs)
BUILD FAILED - 0 non-fatal error(s),
6 warning(s)
External Program Failed: C:\Program
Files\Microsoft Visual Studio .NET 2003\SDK\
v1.1\bin\tlbimp.exe (return code was
-532459699)
Total time: 8.5 seconds.
C:\snapBuild>