Hello,

I am trying to build a .csproj file using the solution-task. The project
has dependencies to COM components written in Visual Basic, which in
turn has dependencies to ADODB. Everything works well on my machine
(Windows XP), but when running on another machine (W2k), I get the
following (verbose) output:

[solution] Starting solution build.

[...]

[solution]  - ADODB
[solution] C:\Program Files\Microsoft.NET\SDK\v1.1\bin\tlbimp.exe
"C:\Program Files\Common Files\System\ADO\msado15.dll" /silent
/out:"C:\solution\bin\Debug\Interop.ADODB.dll" /namespace:ADODB

[...]

[solution]  - MyComponent
[solution] C:\Program Files\Microsoft.NET\SDK\v1.1\bin\tlbimp.exe
"C:\Components\MyComponent.dll" /silent
/out:"C:\solution\bin\Debug\Interop.MyComponent.dll"
/namespace:MyComponent
TlbImp error: System.ApplicationException - The assembly for referenced
type library, 'ADODB', will not be imported since it would overwrite
existing assembly 'C:\solution\bin\Debug\ADODB.dll'.

BUILD FAILED

Couldn't find referenced assembly
'C:\solution\bin\Debug\Interop.MyComponent.dll'.

So from the output it seems like the solution build attempts to copy the
ADODB.dll twice: Once because it is referenced from my solution, and
another time during the processing of the MyComponent-reference. The
second time fails, and so the entire build fails.

Has anyone encountered this problem? Any ideas what might cause this, or
how I might circumvent the problem?

Regards,

Markus Mannevaara



-------------------------------------------------------
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-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to