Marketplace Tip: CultureInfo.InvariantCulture
After releasing a ‘Lite’ version of my Jamster application just before Christmas I have received a lot of comments from foreign downloaders that point to an obvious issue when running in other languages/culture settings.
Of course I had tested code under several different language settings in the past, but was conscious that I hadn’t done so recently.
A quick check running the emulator in French (see left – Settings->Region & Language) quickly revealed the culprit and an easy fix:
Without the second parameter the parsing assumes culture specific attributes, which are often undesirable.