Assert your assumptions - .NET Core and subtle locale issues with WSL's Ubuntu

1 · Scott Hanselman · Oct. 15, 2019, 9:29 p.m.
Summary
I thought this was an interesting and subtle bug behavior that was not only hard to track down but hard to pin down. I wasn't sure 'whose fault it was.' Here's the story. Feel free to follow along and see what you get. I was running on Ubuntu 18.04 under WSL. I made a console app using .NET Core 3.0. You can install .NET Core here http://dot.net/get-core3 I did this:dotnet new consoledotnet add package Humanizer --version 2.6.2 Then made Program.cs look like this. Humanizer is a great .NET Stan...