VS 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!

needs_to_close 

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)!

code_analysis_tools_snip

I'm happy to say there are now two possible fixes for the issue:

  1. 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.
  2. 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.

Published Thursday, November 29, 2007 2:25 AM by Jamie Cansdale

Comments

# TestDriven.Net 2.10: Smart Build

There are a number of new features in TestDriven.Net 2.10 that I want to highlight (apart from the VS

Sunday, December 02, 2007 4:59 PM by TestDriven.NET by Jamie Cansdale

# Developer News » Blog Archive » Activate your iPhone using .NET 2.0It appears that Jon Johansen (DVD

Pingback from  Developer News  » Blog Archive   »  Activate your iPhone using .NET 2.0It appears that Jon Johansen (DVD

# Developer News » Blog Archive » Hogmanay Fun This will be my last post of the

Pingback from  Developer News  » Blog Archive   »  Hogmanay Fun This will be my last post of the

# Developer News » Blog Archive » Gizmox announces Visual WebGui SVN option Gizmox Ltd has announced

Pingback from  Developer News  » Blog Archive   »  Gizmox announces Visual WebGui SVN option Gizmox Ltd has announced

# Developer News » Blog Archive » WPF in the eyes of a beginner As a programmer

Pingback from  Developer News  » Blog Archive   »  WPF in the eyes of a beginner  As a programmer

# Developer News » Blog Archive » Shifting the Burden - Whose Monkey Is It? By Donald

Pingback from  Developer News  » Blog Archive   »  Shifting the Burden - Whose Monkey Is It? By Donald

# Developer News » Blog Archive » Linux Rage Looks Likely Beyond 3D recently reported that id

Pingback from  Developer News  » Blog Archive   »  Linux Rage Looks Likely  Beyond 3D recently reported that id

# Developer News » Blog Archive » Problems with browser compatibility.. especially internet explorer Hello.. I musy

Pingback from  Developer News  » Blog Archive   »  Problems with browser compatibility.. especially internet explorer    Hello.. I musy

# Developer News ?? Blog Archive ?? Problems with browser … | How to make a website

Pingback from  Developer News ?? Blog Archive ?? Problems with browser … | How to make a website

# website builder » Blog Archive » Developer News ?? Blog Archive ?? Problems with browser …

Pingback from  website builder  » Blog Archive   » Developer News ?? Blog Archive ?? Problems with browser …

# Developer News » Blog Archive » How to add data to the content place holder at

Pingback from  Developer News  » Blog Archive   »  How to add data to the content place holder at

# Developer News » Blog Archive » Introduction to LINQ to XML Last year I wrote about

Pingback from  Developer News  » Blog Archive   »  Introduction to LINQ to XML Last year I wrote about

# Developer News » Blog Archive » Aspose.Workflow helps automate business processes Aspose.Workflow , from Aspose Pty

Pingback from  Developer News  » Blog Archive   »  Aspose.Workflow helps automate business processes Aspose.Workflow , from Aspose Pty

# Developer News » Blog Archive » The Swing Wizard Framework Wizards are a common user interaction

Pingback from  Developer News  » Blog Archive   »  The Swing Wizard Framework Wizards are a common user interaction

# Developer News » Blog Archive » Upgrading processors for speed is doomed to failure According to

Pingback from  Developer News  » Blog Archive   »  Upgrading processors for speed is doomed to failure  According to

# Developer News » Blog Archive » What is Microsoft s new language? From Douglas Purdy’s blog: It

Pingback from  Developer News  » Blog Archive   »  What is Microsoft   s new language? From Douglas Purdy’s blog: It

# Developer News » Blog Archive » Having issues on MYSQL from one Domain to another Warning:

Pingback from  Developer News  » Blog Archive   »  Having issues on MYSQL from one Domain to another    Warning:

# Developer News » Blog Archive » CodeSnip: Unexpected behavior with C# auto-implemented properties In this code

Pingback from  Developer News  » Blog Archive   »  CodeSnip: Unexpected behavior with C# auto-implemented properties     In this code

# Developer News » Blog Archive » Off on holiday for a week or so Normal service

Pingback from  Developer News  » Blog Archive   »  Off on holiday for a week or so Normal service

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » Best Practices for Object/Relational Mapping and Persistence APIs By Mario

Pingback from  Developer News  » Blog Archive   »  Best Practices for Object/Relational Mapping and Persistence APIs By Mario

# Developer News » Blog Archive » Blizzard wins Warcraft bot battle World of Warcraft maker Blizzard

Pingback from  Developer News  » Blog Archive   »  Blizzard wins Warcraft bot battle World of Warcraft maker Blizzard

# Developer News » Blog Archive » openArchitectureWare and EMF training now available in the UK If

Pingback from  Developer News  » Blog Archive   »  openArchitectureWare and EMF training now available in the UK If

# Developer News » Blog Archive » Data Conversion and Validation This article shows techniques to convert

Pingback from  Developer News  » Blog Archive   »  Data Conversion and Validation     This article shows techniques to convert

# Developer News » Blog Archive » Automating Software Development Processes By Tim Kitchens Automating repetitive procedures

Pingback from  Developer News  » Blog Archive   »  Automating Software Development Processes By Tim Kitchens Automating repetitive procedures

# Developer News » Blog Archive » TestDriven.Net 2.10: Smart BuildThere are a number of new features

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.10: Smart BuildThere are a number of new features

# Developer News » Blog Archive » capture the screen using printscreen key hi all, I am

Pingback from  Developer News  » Blog Archive   »  capture the screen using printscreen key    hi all, I am

# Developer News » Blog Archive » VMware Unveils OS for the Data Center Making what now

Pingback from  Developer News  » Blog Archive   »  VMware Unveils OS for the Data Center  Making what now

# Developer News » Blog Archive » Django 1.0 Released After several years of development, and a

Pingback from  Developer News  » Blog Archive   »  Django 1.0 Released After several years of development, and a

# Developer News » Blog Archive » Overview of Microsoft Office SharePoint Server 2007 In this article,

Pingback from  Developer News  » Blog Archive   »  Overview of Microsoft Office SharePoint Server 2007     In this article,

# Developer News » Blog Archive » The Weblog Skeptic Usage logs can provide useful inputs to

Pingback from  Developer News  » Blog Archive   »  The Weblog Skeptic Usage logs can provide useful inputs to

# Developer News » Blog Archive » Storing videos in site like youtube/orkut HI , I want

Pingback from  Developer News  » Blog Archive   »  Storing videos in site like youtube/orkut    HI , I want

Leave a Comment

(required) 
(required) 
(optional)
(required)