I am getting an error while trying to build an ASP.Net web project, I have pasted parts of the logfile below.
[solution] Starting solution build. [solution] Only C#, VB.NET and C++ projects are supported. Skipping project 'CTIP_Data\CTIP_Data.dbp'. [solution] Loading projects... [solution] Loading project 'e:\Data\Projects\CTIP\ctip_build\buildsolution\CTIP_Lib\CTIP_Lib.vbproj'. [solution] Loading project 'E:\Data\Projects\CTIP\ctip_build\Build\tip_build\TIP.vbproj'. [solution] Gathering additional dependencies... [solution] Fixing up references... [solution] Skipping 'CTIP_Lib' [debug]... [solution] Fixing up references... [solution] Building 'TIP' [debug]... [solution] Copying references: [solution] - System.Web [solution] - Office [solution] D:\Apps\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\tlbimp.exe "d:\Apps\Microsoft Office 2000\Office\MSO9.DLL" /silent /out:"e:\Data\Projects\CTIP\ctip_build\build\tip_build\bin\Interop.Office.dll" /namespace:Office [solution] - System.Data [solution] - log4net [copy] Copying 1 file to 'e:\Data\Projects\CTIP\ctip_build\build\tip_build\bin'. [copy] Copying 'E:\Data\Projects\CTIP\ctip_build\Build\tip_build\Assemblies\log4net.dll' to 'e:\Data\Projects\CTIP\ctip_build\build\tip_build\bin\log4net.dll'. [solution] - System.XML [solution] - System.Design [solution] - System [solution] - CommonLib [copy] Copying 1 file to 'e:\Data\Projects\CTIP\ctip_build\build\tip_build\bin'. [copy] Copying 'E:\Data\Projects\CTIP\ctip_build\Build\tip_build\Assemblies\CommonLib.dll' to 'e:\Data\Projects\CTIP\ctip_build\build\tip_build\bin\CommonLib.dll'. [solution] - PowerPoint [solution] D:\Apps\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\tlbimp.exe "d:\Apps\Microsoft Office 2000\Office\msppt9.olb" /silent /out:"e:\Data\Projects\CTIP\ctip_build\build\tip_build\bin\Interop.PowerPoint.dll" /namespace:PowerPoint [solution] - System.Drawing…
…[solution] "E:\Data\Projects\CTIP\ctip_build\Build\tip_build\Classes\ProjectInfo.vb" E:\Data\Projects\CTIP\ctip_build\Build\tip_build\Classes\ReportCommon.vb(701) : error BC30652: Reference required to assembly 'Office' containing the type 'Office.MsoTriState'. Add one to your project.
Essentially, I have some code that is accessing an external COM library for MS Office 2000, and apparently something is having a hard time resolving the code at compile time to determine which assembly to reference. I have added a reference in the web project to the COM library which creates in Interop assembly with a namespace of Office, however when running the solution task Nant also converts the same DLL using tlbimp.exe as noted above. I am able to compile to project and solution that contains the project in VS.Net 2003 without a problem, and am a bit stumped as to where to go from here. If anyone has any experience dealing with a similar issue related to extneral COM library references and knows a work around I would appreciate any information they could provide. I have also included a snippet from the build file in question.
<target name="Clean"> <solution solutionfile="${build.sourcedir}\CTIP_Web.sln" configuration="${config}" outputdir="${build.dir}" verbose="true"> <webmap url="" path=""> <map url="" path="${build.webproj.path}\TIP.vbproj" /> </webmap> <excludeprojects> <includes name="CTIP_Lib.vbproj" /> </excludeprojects> </solution> </target>
Thanks,
Aron Ceely
|
- [Nant-users] Error with solution task Ceely, Aron D
- [Nant-users] Error with solution task Nau, Michael
- RE: [Nant-users] Error with solution task Gert Driesen
- RE: [Nant-users] Error with solution task Nau, Michael