How to completely avoid localized .NET exception messages

前端 未结 2 1370
挽巷
挽巷 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: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.

提交回复
热议问题