I can try to reproduce this with some sample code since I cannot release any of what I have here and at least one of the COM .dll's involved here is a 3rd. party library. But I also can tell you that I ran the build again with the 'Debug+' output and got the command-line that was executing when the error occurred, it was from this:
 
[aximp] Starting 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\aximp.exe ( /verbose /out:"C:\<ProjectDir>\obj\AxInterop.CHATCONTROLSLib.dll" /rcw:"C:\<ProjectFolder>\obj\Interop.CHATCONTROLSLib.dll" /nologo C:\<LIB_Folder>\chatcontrols.dll)' in 'C:\<SolutionFolder>'

 
So I ran the same from the command prompt and got the same error but as soon as I ran it without the '/rcw' argument it worked fine. At least from the command-line. I'd have to modify the source in order to make sure it all works fine in NAnt. I am using the 12/27nightly build version of NAnt.
 
Please, let me know if with this information you still need a repro and thanks for your help.
 
 

Gert Driesen <[EMAIL PROTECTED]> wrote:
Dante,
 
What version of NAnt are you using ?  Can you send me a small repro for both issues ?

Gert


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dante Omar Villarreal
Sent: dinsdag 28 december 2004 20:20
To: nant-users
Subject: [Nant-users] Error when building with <solution> tag but not with VS2003 IDE

Right after getting the code from SourceSafe I tried building it with NAnt using the <solution> task and got the error described below. However, If I build the solution through the IDE it builds fine. Then if I try building it with NAnt again after building it with the IDE, it builds fine with NAnt. Any ideas? I also notices that the first two projects in the solution build in the opposite order when build with NAnt versus the IDE, not that itt matters but in case it is useful information... Thanks in advance!
 
 
 [solution] Building '<ProjectName>' [Debug] ...
                [aximp] Generating Windows Forms Control wrapping 'C:\...\chatcontrols.dll'.
                [aximp] AxImp Error: File or assembly name AttachedDataLib, or one of its dependencies, was not found.
BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
Error importing ActiveX control from 'C:\...\chatcontrols.dll'.
    External Program Failed: C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\aximp.exe (return code was -1163019603)
 
 

Reply via email to