Hi Gert, I've attached an example project that is having the issue. Let me know if you need additional info.
-- Kind Regards, Dan Quoting Gert Driesen <[EMAIL PROTECTED]>: > Daniel, > > Can you send me a small repro for this issue ? > > Thanks ! > > Gert > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Daniel Czarnecki > > Sent: vrijdag 12 augustus 2005 7:37 > > To: nant-users@lists.sourceforge.net > > Subject: [Nant-users] (no subject) > > > > Hi everyone, > > > > I have a project that uses Excel as a reference from COM. The > > solution generates > > a file "Interop.Excel.dll" using the tlbimp command. > > > > The project builds fine in VC 2003 however when I try and > > build the solution > > using nant it fails. When it gets to the cpp files > > referencing Interop::Excel it > > generates an error 'Interop' : is not a class or namespace name. > > > > It is as if nant is not including or recognizing "Interop.Excel.dll" > > > > I am using VC ++ .Net > > > > Thanks, > > > > Dan > > > > > > This is my build file: > > > > <project name="Bodor Solution Build" default="rebuild"> > > <property name="configuration" value="release"/> > > > > <target name="clean" description="Delete all previously > > compiled binaries."> > > <delete> > > <fileset> > > <include name="*/Release/*.obj" /> > > <include name="*/Release/*.suo" /> > > <include name="*/Release/*.user" /> > > <include name="release/*.pdb" /> > > <include name="release/*.config" /> > > <include name="release/*.exe" /> > > <include name="release/*.dll" /> > > <include name="release/*.xml" /> > > </fileset> > > </delete> > > </target> > > > > <target name="build" description="Build all targets."> > > <tlbimp typelib="\Program Files\Common Files\Microsoft > > Shared\Vba\Vba6\Vbe6ext.olb" output="release/Interop.VBIDE.dll" /> > > <tlbimp typelib="\Program Files\Common Files\Microsoft > > Shared\Office11\Mso.dll" > > output="release/Interop.Microsoft.Office.Core.dll" /> > > <tlbimp typelib="\Program Files\Microsoft > > Office\Office11\Excel.exe" > > output="release/Interop.Excel.dll" /> > > <call target="build.bodor"/> > > </target> > > > > <target name="rebuild" depends="clean, build" /> > > > > <target name="build.bodor"> > > <solution verbose="true" configuration="${configuration}" > > solutionfile="Bodor.sln" /> > > <property name="expected.output" > > value="${configuration}/Bodor.exe"/> > > <fail > > unless="${file::exists(expected.output)}">Output file doesn't > > exist in ${expected.output}</fail> > > </target> > > > > </project> > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development > > Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * > > Testing & QA > > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nant-users mailing list > > Nant-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nant-users > > > >
nantTest.rar
Description: application/rar-compressed