How to completely avoid localized .NET exception messages

前端 未结 2 1374
挽巷
挽巷 2021-02-05 00:27

When an error occurs in my .NET applications, i get an exception message in (in my case) swedish. This is useless for most purposes because.

  • The message is oft

相关标签:
2条回答
  • 2021-02-05 01:06

    On windows 10 you can do this but you need to change display language.

    Then you need to set back your date time settings

    You will have system in English but for most programmers that doesn't matter.

    0 讨论(0)
  • 2021-02-05 01:07

    Remove any .NET language packs. According to this ("The .NET Framework 4.5 Language Pack contains translated error messages and other UI text for languages other than English. If you don't install a language pack, this text is displayed in English"), it should be enough.

    0 讨论(0)
提交回复
热议问题