Wednesday, October 28, 2009

Visual Studio Toolbox – Items missing

October 28, 2009 Posted by Jason Irwin 4 comments

Today, a team member asked for help with a Visual Studio issue he had just run into. In short, his Visual Studio toolbox was acting strange and was essentially unusable. The toolbox was blank and clicking Reset Toolbox (though it took forever) did not help. Clicking Show All Items did in fact show ALL items, but they were greyed out and unusable. After trying everything under the sun to fix the issue we figured that there was something profile-specific going on and, after browsing his local settings, came up with the following fix:

  • Close all instances of Visual Studio
  • Navigate to the following directory (I am using 2008 – for a different version change the 9.0 to reflect the correct version number/folder)

%userprofile%\Local Settings\Application Data\Microsoft\VisualStudio\9.0

  • You should see four files:
    • toolbox.tbd
    • toolbox_reset.tbd
    • toolboxIndex.tbd
    • toolboxIndex_reset.tbd
  • Move these files to another folder (or, if you are very brave, delete them altogether. Note, this is very much a case of “Worked on my (colleague’s) PC” – do this at your own risk.
  • Restart Visual Studio and hey presto, your Toolbox should be back to where it needs to be. The user in question did not have any custom items in his toolbox so I can only assume that the fix reverted the toolbox to the original Visual Studio state.

Easy…

Saturday, October 24, 2009

Damn It!!!

October 24, 2009 Posted by Jason Irwin No comments

I just noticed the grace period for free updates to Resharper 5.0. Anything on or after October 15th qualifies for a free update. I got mine on September 13th :-( Do you think they’re using the Gregorian calendar?

image

On a serious note, having won the license I really can’t complain and am in fact pretty excited about the new features in 5.0. I’ll have to finish off my CodeRush vs Resharper redux to figure out where my hard-earned cash will go…