Bugs item #1942991, was opened at 2008-04-15 15:36 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1942991&group_id=105970
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: light Group: v3.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mikael Borjesson (mikabo) Assigned to: Nobody/Anonymous (nobody) Summary: Invalid culture causes Light to crash Initial Comment: When excuting light.exe, the error message "Culture 'en' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture." is returned. This is caused by a call to String.Format() where CultureInfo.CurrentUICulture is sent as the IFormatProvider. However, CultureInfo.CurrentUICulture can contain a neutral culture, which will cause an exception if used for numeric formatting. I think the correct call would be String.Format(CultureInfo.CurrentCulture, ...), since CultureInfo.CurrentCulture cannot contain a neutral culture. Searching through the source code I actually find a lot of places where CultureInfo.CurrentUICulture is used. They could all need a review. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1942991&group_id=105970 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
