Monday, April 14, 2008

Visual Studio 2008 Cache issue

I had to test something with Online Topic Language set to Portuguese. This can be set under Tools>Options>Environment>Help>Online Topic Language dropdown.

But when i tried it in my machine, i couldnt find portuguese. I dont know why! i was able to see portuguese listed in other boxes but not my test box! sucker - i had to spend 5 hours debugging this. I tried all - restart the environment, restart the machine (you never know what all wonder restarting the machine would do, but apparantly it didnt help in this case). I even tried to reset the user settings using devenv.exe /ResetSettings - nope none worked.

Finally i figured out that under C:\Documents and Settings\\Application Data\Microsoft\VisualStudio\9.0\VS Help Data the XML file is cached with the language list. Once i deleted these files, the problem is resolved.

I wonder why devenv.exe /ResetSettings didnt do it!

VS without Portuguese:



VS with Portuguese: