Change build terminal language to English Follow Krzysztof Created December 22, 2022 10:47 How can i change language in the terminal to english ?
Unfortunately, this option is not supported by MSBuild. Generally, MsBuild language is the same as your system or Visual Studio language. You can try to change one of these languages. Another possible workaround is to add
<PreferredUILang>en</PreferredUILang>string to your csproj file.
I think this is the easiest way of how to get MSBuild errors in different language. I also have Windows with polish language and this helped me :)
Thank's Rosko it's working !! :)
We also plan to enforce it, you can watch the issue here. But for now
DOTNET_CLI_UI_LANGUAGE=enand PreferredUILang=en should help.