VS 2008 crashes on startup when ‘Code Analysis Tools’ feature
September 29, 2008 – 5:00 amVS 2008 crashes on startup when ‘Code Analysis Tools’ feature is not installed
Now that Visual Studio 2008 RTM is out I have started getting reports of Visual Studio crashing on startup when TestDriven.Net is installed. I was pretty dismayed as TestDriven.Net has included Orcas support since January of this year and this support has been pretty well tested. I certainly wasn’t expecting to see any fatal crashes!
It turns out that this crash only happens when the user has opted not to install the ‘Code Analysis Tools’ feature. This is quite common when someone is doing a minimal install of Visual Studio with just the language feature they need.
The issue appears to be related to the Visual Studio command bars. If you simply query for a command bar that doesn’t exist, Visual Studio will quit with an error (rather than throwing the expected ArgumentException)!
I’m happy to say there are now two possible fixes for the issue:
- If you go into the Visual Studio 2008 Team Suite setup and enable the ‘Code Analysis Tools’ feature, you should find the crash goes away.
- I’ve just released TestDriven.Net 2.10, which includes a workaround for this issue. Please read the release notes and download it from here. If you’re using Visual Studio 2008 I strongly encourage you to install this version.
Thanks to Aaron Jensen, Chad Myers and Dru Sellers for reporting the problem.
Service Locator Pattern Revisited, Part 1
Traditional implementations of the Service Locator Pattern result in a large amount of boilerplate code. This article, the first of a two part series, shows that this is not a necessary weakness.
Google pagerank update 27 September 2008
Just in case you hadn’t spotted it, Google ran through a page rank update yesterday (September 27th), and the SEO communities are buzzing about it as usual….
neil
You must be logged in to post a comment.