I noticed that unexpectedly Visual Studio 2010 changed the keyboard layout.I tried some solutions like:
- Going to Windows\' Control Panel and removing other
Reboot was required
This is one of the absolutely most annoying problems you can come across in Visual Studio 2010.
Every time I hit the key combination Ctrl+Space VS 2010 would change the keyboard layout. It changed from Norwegian to English. The change is only inside Visual Studio, the Language Bar still shows Norwegian. I had Norwegian and English keyboards installed. Norwegian first, that's what I use.
The only thing that was able to reset the keyboard was a restart of Visual Studio. But the next time I hit Ctrl+Space to get AutoCompletion the layout changed again. It only affects Visual Studio.
I tried the following:
Checked key-mappings for switching keyboard layout. I had cleared those long ago.
Deleted the English keyboard (only the Norwegian one left).
Tried changing the Language under Tools - Options - International Settings.
Deleted the .suo file.
Deleted the .sdf file (since the problem was related to IntelliSense)
I also tried every imaginable keyboard combination (many suggested in different forums), but none of them worked.
In between all of these I restarted Visual Studio, but to no avail.
The problem only went away when I restarted my computer. I suspect that deleting the English keyboard did the trick, but that a reboot is required.
I am on Windows 7. My solution contains C# class libraries as well as C++/CLI class libraries.