views:

2620

answers:

5

I am working on machine with XP Dutch version installed on it. Visual studio 2005 is installed in English. I'm having the annoying problem while debugging that all .NET Framework exception message appear in Dutch, which make them really worthless. I tried to change this to English by setting the regional settings in the control panel to US English and then reinstalling the .NET Framework 2.0 (English version) but apparently this did not solve the problem. Does anyone have an idea?

+2  A: 

This issue has been discussed here. Basically you can change the current thread's CurrentCulture to en-US.

Darin Dimitrov
A: 

Check this :

C# - Exception messages in English?

Canavar
+1  A: 

I think my question was missunderstood, I don't want to change the current culture of the thread. The problem i'm having is when you are debugging and stepping through the code when suddenly one of those exception windows appears with the exception-message in it. This exception message appears in Dutch and I would like it to appear English. I hope this clarifies the question.

Oysio
+1  A: 

Try:

Tools -> Options -> Environment -> International Settings -> Language
sixlettervariables
I have the same problem using VS 2010 on Norwegian Vista. The Language setting in the above menu is set to English, but all exception messages are Norwegian.
Guge
I have the same problem using VS 2010 on Russian Windows 7. The Language setting in the above menu is set to English, but all exception messages are Russian.
Anton
While debugging? On the command line? In release mode?
sixlettervariables
In debug mode in silverlight.
Anton
SilverLight is a different beast potentially, I haven't tried that yet. Let me see what I can find for VS2k10 and SL.
sixlettervariables
+1  A: 

I did some more research and apparently it is not possible to change the CurrentUICulture by default to a different language then the native language of the installed OS. It can only be changed when doing something like 'Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-us")' in the code itself.

Oysio