Configure Visual Studio to show error messages in English

I'm currently working in another country, and my PC has a non-English version of Windows installed. I don't care about this, but I do care a lot when Visual Studio shows error messages because they are also localized to the same language as Windows.

Sometimes I spend a good time trying to find what it means, which is pretty boring...

Is there any way to configure Windows or Visual Studio to display the messages in English?


Deinstall the .NET Framework xxx Language Pack. (xxx = boring message language)


Under Tools/Options/International settings. I have an option to change the language from "Same as Microsoft Windows" to "English" (Visual Studio 2008 in case it makes any difference). If you don't have English in there then I'm not sure how you add more languages...


Edited to add:

Since you are talking about application exceptions you need to change the culture of the application you are dubugging, you can do that by following this or if it isn't an option to change the culture for the whole app this question has some ideas for only changing culture when exceptions are thrown.


As I posted in another thread, in my case it took only one line of code to change the Culture:

System.Globalization.CultureInfo.DefaultThreadCurrentUICulture=System.Globalization.CultureInfo.GetCultureInfo("en-US");

It changes default Culture of Main thread and new ones as well.

链接地址: http://www.djcxy.com/p/95372.html

上一篇: 在Visual Studio中使用不同的本地化版本多次打开表单

下一篇: 配置Visual Studio以英语显示错误消息