Hi,

This issue was fixed after the 0.84 release. Try using NAnt 0.85 Release
Candidate 1.

Hope this helps,

Gert
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Raghuraman Rajagopalan
> Sent: vrijdag 3 december 2004 5:30
> To: [EMAIL PROTECTED]
> Subject: [nant-dev] FW: Build Failure
> 
> Hi,
>       I have a project that references Visio Type library. 
> I'm using the <Solution> tag so that my solution and build 
> files are always in sync. However, the build is failing with 
> the following error
> 
> System.ApplicationException: Couldn't find reference to type 
> library 'Visio' 
> (TYPELIB\{00021A98-0000-0000-C000-000000000046}\4.11\0\win32).
> 
> In the project file, the corresponding entries are:
> <Reference
>       Name = "Visio"
>       GUID = "-- some guid --"
>       VersionMajor = "4"
>       VersionMinor = "11"
>       Lcid = "0"
>       WrapperTool = "Primary" />
> 
> And the registry for the TYPELIB\GUID key for Visio Looks like
>       + <Guid>
>               + 4.b
>                       + 0
>                               + win32 default --> path to 
> visio library
> 
> 1. Changed the minor version in teh project file from 11 to b
> Result: Nant build worked but now VS.NET does not find the reference.
> 
> 2. Removed and added the reference to VS.Net again.
> Result: VS.NET build works. Minor Version changed back to 11 
> in project file.
> 
> Excluding the project file from the solution in Nant does not 
> work as I think it tries to resolve references first.
> 
> The build log is given below. I believe this to be a bug with 
> Nant - probably it should convert the Version numbers to Hex 
> before trying to resolve the keys in the registry.
> 
> 
> OTHER INFO:
> Using NANT 0.84
> 
> 
> Thanks!
> Raghu
> 
> 
> -----Original Message-----
> From: Raghuraman Rajagopalan 
> Sent: Friday, December 03, 2004 9:46 AM
> To: Raghuraman Rajagopalan
> Subject: Build Failure
> 
> 
> Buildfile: file:///C:/ISPACE_BUILD/CODE/DEV/SERVER/default.build
> Target(s) specified: debug 
> 
> debug:
> 
>      [echo] Framework Target: net-1.1
>  [solution] Starting solution build.
> 
> BUILD FAILED
> 
> INTERNAL ERROR
> 
> System.ApplicationException: Couldn't find reference to type 
> library 'Visio' 
> (TYPELIB\{00021A98-0000-0000-C000-000000000046}\4.11\0\win32).
>    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, SolutionTask 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: 2.3 seconds.
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
> 
> 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to