[NAntC-Dev] [ nantcontrib-Bugs-1745360 ] VB6 Task Typelib vbscript.dll does not exist

2011-08-22 Thread SourceForge . net
Bugs item #1745360, was opened at 2007-06-29 16:21
Message generated for change (Comment added) made by dogu
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: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Gilles HERRGOTT (gihe)
>Assigned to: Dominik Guder (dogu)
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: Dominik Guder (dogu)
Date: 2011-08-23 00:02

Message:
Fixed today

--

Comment By: Gilles HERRGOTT (gihe)
Date: 2007-06-29 17: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: Gilles HERRGOTT (gihe)
Date: 2007-06-29 17: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

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer


[NAntC-Dev] [ nantcontrib-Bugs-1745360 ] VB6 Task Typelib vbscript.dll does not exist

2011-08-22 Thread SourceForge . net
Bugs item #1745360, was opened at 2007-06-29 16:21
Message generated for change (Comment added) made by dogu
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: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Gilles HERRGOTT (gihe)
>Assigned to: Dominik Guder (dogu)
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: Dominik Guder (dogu)
Date: 2011-08-23 00:02

Message:
Fixed today

--

Comment By: Gilles HERRGOTT (gihe)
Date: 2007-06-29 17: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: Gilles HERRGOTT (gihe)
Date: 2007-06-29 17: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

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer