Bugs item #1745360, was opened at 2007-06-29 14:21 Message generated for change (Comment added) made by gihe You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1745360&group_id=54790
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: 0.85 Status: Open Resolution: None Priority: 5 Private: No Submitted By: GiHe (gihe) Assigned to: Nobody/Anonymous (nobody) Summary: VB6 Task Typelib vbscript.dll does not exist Initial Comment: Hi, We have a reference to vbscript.dll like below in a project file : Reference=*\G{3F4DACA7-160D-11D2-A8E9-00104B365C9F}#5.5#0#C:\WINDOWS\system32\vbscript.dll\3#Microsoft VBScript Regular Expressions 5.5 During the compilation task processed by VB7 Task Nant Contrib, the warning below is displayed: [vb6] Type library file 'C:\WINDOWS\system32\vbscript.dll\3' does not exist. The '\3' is a reference to a specific type lib. How can we disable the warning message or correct that ? Thanks in advance for your support. Cordially, Gilles ---------------------------------------------------------------------- >Comment By: GiHe (gihe) Date: 2007-06-29 15:22 Message: Logged In: YES user_id=1269205 Originator: YES Patch proposed: // Check if file exists, if type lib contains multiple interfaces, drop the interface reference if (File.Exists(tlbName) || (File.Exists(tlbName.Substring(0,tlbName.Length-2)))) { references.Includes.Add(tlbName); } else { Log(Level.Warning, "Type library file '{0}' does not exist.", tlbName); } ---------------------------------------------------------------------- Comment By: GiHe (gihe) Date: 2007-06-29 15:00 Message: Logged In: YES user_id=1269205 Originator: YES TypeLib references are stored in the registry \\HKEY_CLASSES\ROOT. The key \5.5\0\win32 ref the "C:\WINDOWS\system32\vbscript.dll\3" dll. The reference is checked during the build process. The task cannot the file in the directory "c:\windows\system32". That's ok and does'nt break the compilation process. Do you know also a way to process the '\3' string in order to allow the task to find the file and not display this warning ? (File vb6Task.cs line 525) Thanks for your support, ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474851&aid=1745360&group_id=54790 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ NAntContrib-Developer mailing list NAntContrib-Developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer