Bugs item #942294, was opened at 2004-04-26 09:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=942294&group_id=31650
Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Keyser (c-jkeyser)
Assigned to: Nobody/Anonymous (nobody)
Summary: <solution> - Failure to locate COM library with culture != 0
Initial Comment:
VS.NET project files store the LCID of referenced COM
libraries in decimal format. However, the culture key
stored in the Registry uses hex format. The <solution>
task does not convert the LCID from decimal to hex
before looking up the library, which causes any libraries
stored with an LCID of anything other than "0" to report
the build error, "Couldn't find reference to type
library 'xxxxxxx' (TYPELIB\{xxxxxxxx-xxxx-xxxx-xxxx-
xxxxxxxxxxxx}\1.0\1033\win32)."
(I apologize for providing a patch this way, but our
firewall blocks CVS access.)
Please replace the line in Reference.HandleWrapperImport
(...) from
string tlbRegistryKey = string.Format
(@"TYPELIB\{0}\{1}.{2}\{3}\win32",
elemReference.Attributes["Guid"].Value,
majorVersion, minorVersion,
elemReference.Attributes["Lcid"].Value);
to
string tlbRegistryKey = string.Format
(@"TYPELIB\{0}\{1}.{2}\{3}\win32",
elemReference.Attributes["Guid"].Value,
majorVersion, minorVersion,
int.Parse(elemReference.Attributes
["Lcid"].Value).ToString("X"));
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=942294&group_id=31650
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers