Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version number parsing for non-English region settings #14

Closed
andijakl opened this issue Nov 6, 2015 · 1 comment
Closed

Version number parsing for non-English region settings #14

andijakl opened this issue Nov 6, 2015 · 1 comment

Comments

@andijakl
Copy link

andijakl commented Nov 6, 2015

As we just discovered at the MVP Summit, the parsing of the .net version number doesn't work if the computer's number format region is set to German locales. It will not recognize the "4.5" as the corresponding number, as it'd expect to read "4,5" instead. As a result, the tool things the library doesn't meet the requirements.

As solution, specify the neutral / English format provider for the Double.TryParse method.

@clairernovotny
Copy link
Owner

Fixed in 1.3.6 just pushed to NuGet.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants