Stephen,

Can you try to reproduce this using a recent nightly build of NAnt
(http://nant.sourceforge.net/nightly/builds) ?

If you can reproduce it, would you be able to package up a zip file
containing the minimum set of files necessary to reproduce this issue ?

Thanks,

Gert

----- Original Message -----
From: "Stephen Dunn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 20, 2004 12:34 PM
Subject: [nant-dev] Bug in NAnt Visual Studio .NET Solution builder


I'm using the       <solution solutionfile="D:\blah.sln"
configuration="Debug" /> tag to build a solution.

I've found the following:

The solution contains two projects, Project A and Project B

Project A in has a reference to a com DLL.  This DLL is produced as
output from Project B.  The project's build order build Project B first
so that the file referenced by Project A will exist.  This works fine
when building from Visual Studio .NET(2003).

The problem occurs when using NAntContrib.  When loading the solution,
dependencies are being resolved at load time, and hence failing on the
missing DLL that is referenced by Project A.  Here's the call stack:

[solution] Starting solution build.



BUILD FAILED



INTERNAL ERROR



System.Exception: Couldn't find referenced type library
'd:\projects\libraries\picrypt\debug\PICrypt.dll'.

   at NAnt.VSNet.Reference.HandleWrapperImport(XmlElement elemReference)

   at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps,
XmlElement elemReference, SolutionTask solutionTask, String outputDir)

   at NAnt.VSNet.Project.Load(Solution sln, String projectPath)

   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask
slnTask, TempFileCollection tfc, String outputDir, String path)

   at NAnt.VSNet.Solution.LoadProjects()

   at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList
additionalProjects, ArrayList referenceProjects, TempFileCollection tfc,
SolutionTa

sk solutionTask, WebMapCollection webMappings, FileSet excludesProjects,
String outputDir)

   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()

   at NAnt.Core.Task.Execute()

   at NAnt.Core.Target.Execute()

   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies)

   at NAnt.Core.Project.Execute()

   at NAnt.Core.Project.Run()



Please send bug report to [EMAIL PROTECTED]



Total time: 74.6 seconds.



Please let me know if you require more information.



Many thanks,



Steve Dunn

This email and any attachments are confidential. They may contain privileged
information and are intended for the named addressee(s) only. They must not
be distributed without Perfect Information's consent. If you are not the
intended recipient, please notify us immediately and do not disclose,
distribute, or retain this email or any part of it. Unless expressly stated,
opinions in this email are those of the individual sender, and not of
Perfect Information. We believe but do not warrant that this e-mail and any
attachments are virus free. You must therefore take full responsibility for
virus checking. Perfect Information reserves the right to monitor all email
communications through their networks.




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to