Make sure your COM dll is registered on the server that is building your project.

Gerold Kathan wrote:

hi - we are trying to get our solution to build by nAnt - actually we are not successful -> there seems to be something missing - we reference a COM dll (BAWPublicV5) and solution task produces follwoing error:

* using nant-20031028.zip nighlty build

any hints ?

greetings from vienna,

gerold.

-------------------------------------------------




compile:


[solution] Starting solution build.

BUILD FAILED

INTERNAL ERROR

System.ApplicationException: Couldn't find reference to type library 'BAWPublicv5' (TYPELIB\{E1A04E7
B-BB8C-474E-A8AD-C893042F08F1}\24.0\0\win32).
at NAnt.VSNet.Reference.HandleWrapperImport(XmlElement elemReference) in C:\DOCUME~1\ADMINI~1\LOC
ALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\Reference.cs:line 373
at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlElement elemReference, So
lutionTask solutionTask, String outputDir) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt
.VSNet\Reference.cs:line 125
at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Tem
p\tmp291.tmp\src\NAnt.VSNet\Project.cs:line 175
at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection t
fc, String outputDir, String path) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\P
rojectFactory.cs:line 50
at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlElement elemReference, So
lutionTask solutionTask, String outputDir) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt
.VSNet\Reference.cs:line 61
at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Tem
p\tmp291.tmp\src\NAnt.VSNet\Project.cs:line 175
at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection t
fc, String outputDir, String path) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\P
rojectFactory.cs:line 50
at NAnt.VSNet.Solution.LoadProjects() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.V
SNet\Solution.cs:line 373
at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList additionalProjects, ArrayList ref
erenceProjects, TempFileCollection tfc, SolutionTask solutionTask, WebMapCollection webMappings, Fil
eSet excludesProjects, String outputDir) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.V
SNet\Solution.cs:line 113
at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\s
rc\NAnt.VSNet\Tasks\SolutionTask.cs:line 289
at NAnt.Core.Task.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Task.c
s:line 151
at NAnt.Core.Target.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Targ
et.cs:line 207
at NAnt.Core.Project.Execute(String targetName) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\
src\NAnt.Core\Project.cs:line 753
at NAnt.Core.Project.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Pro
ject.cs:line 729
at NAnt.Core.Project.Run() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Project
.cs:line 778


Please send bug report to [EMAIL PROTECTED]

Total time: 4.3 seconds.





------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to