Hi Gert, here is the extract:
[HKEY_CLASSES_ROOT\TypeLib\{0201--0010-8000-00AA006D2EA4}]
[HKEY_CLASSES_ROOT\TypeLib\{0201--0010-8000-00AA006D2EA4}\2.1]
@=Microsoft ActiveX Data Objects 2.1 Library
[HKEY_CLASSES_ROOT\TypeLib\{0201--0010-8000-00AA006D2EA4}\2.1\0]
[HKEY_CLASSES_ROOT\TypeLib\{0201--0010-8000-00AA006D2EA4}\2.1\0\
win32]
@=C:\\Program Files\\Common Files\\System\\ado\\msado21.tlb
[HKEY_CLASSES_ROOT\TypeLib\{0201--0010-8000-00AA006D2EA4}\2.1\FL
AGS]
@=0
[HKEY_CLASSES_ROOT\TypeLib\{0201--0010-8000-00AA006D2EA4}\2.1\HE
LPDIR]
@=C:\\WINDOWS\\HELP
Hilton
-Original Message-
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Thursday, 27 July 2006 2:35 AM
To: Hilton Wong; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] error in solution task when referencing
primaryinterop assembly ADODB
Hilton,
Can you send me an extract of your registry for the ADODB type library
(HKEY_CLASSES_ROOT\TypeLib\{0201--0010-8000-00AA006D2EA4}) ?
Thanks!
Gert
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Hilton Wong
Sent: woensdag 26 juli 2006 8:55
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] error in solution task when referencing
primaryinterop assembly ADODB
Hi, I am currently in the process of converting some build
scripts from batch files to nant build files.
I have a .Net solution that references ADODB.dll in the GAC.
The project file for this reference looks like this:
Reference
Name = ADODB
Guid = {0201--0010-8000-00AA006D2EA4}
VersionMajor = 2
VersionMinor = 1
Lcid = 0
WrapperTool = primary
/
When I build this solution from Visual Studio IDE, it
compiles correctly without any error messages.
Likewise when I compile it using the old batch file scripts
that use 'devenv' to build the solutions, no error messages appear.
However, when I have built the corresponding solution task
in nant to build, I get the following error:
NAnt 0.85 (Build 0.85.2344.0; rc4; 2/06/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/CCBuildScripts/build_COIN_002.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: test
test:
[solution] Starting solution build.
BUILD FAILED
Couldn't find Primary Interop Assembly ADODB, referenced by
project AuditTrailBase.
Total time: 0.2 seconds.
The nant build file I have written is copied here:
?xml version=1.0?
project default=test
!-- set the configuration of the build here. Release/Debug --
property name=configuration value=Release /
!-- set the framework to target here --
property name=nant.settings.currentframework
value=net-1.1 /
!-- set the version of COIN we are building --
property name=COINVersion value=2.6/
!-- set the path of the source file location for
the HSTools here --
property name=versionPath
value=c:\HolisticFS\HSTOOLSv${COINVersion} /
target name=test
solution
configuration=${configuration}
solutionfile=${versionPath}\AuditTrailBase\AuditTrailBase.sln
/
/target
/project
When I look into the C:\WINDOWS\assembly directory of the
machine, I see ADODB in existence there. Also, other
solutions that I have tried that do not have this ADODB
reference build correctly without errors in nant.
Any ideas why this is happening? Thanks
Hilton
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users