Soloplan / whatson

Build status monitoring for Windows with support for Jenkins, Travis-CI, CC.NET (alternative to CCTray)
MIT License
19 stars 4 forks source link

Lack of localization folders crashes whatson when starting open minimized. #71

Closed skowront closed 4 years ago

skowront commented 4 years ago

Reproduction: Delete your locale folder from whatson binaries. Set whatson option in configuration.json to open minimized. Try to use whatson. Observe crash, not particullary spectatuclar, but it it impossible to use whatson. Note: Your system language must be other than english to reproduce the error.

skowront commented 4 years ago

Solution: Set culture to en-US System.Globalization.CultureInfo.CurrentCulture = new CultureInfo("en-US"); System.Globalization.CultureInfo.CurrentUICulture = new CultureInfo("en-US");