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.
Hi Krzysztof!
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=en
and PreferredUILang=en should help.