Thursday, October 23, 2008

Visual Studio 2008: Error When Opening Workflow Designer

You may run into this error when you upgrade to Visual Studio 2008 and attempt to view a workflow in the designer:

there is no editor available for [..] make sure the application for the file type (.cs) is installed

I first attempted to reset settings for Visual Studio and that didn't do it. I re-installed Visual Studio 2008 and kept getting the same error. Little did I pay attention to the output window! It was already telling me how to fix it:

The Microsoft.Workflow.VSDesigner.DesignerPackage, Microsoft.Workflow.VSDesigner, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 ({FD526733-BD72-4F81-BEEC-BEB06E2AF59F}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'devenv /resetskippkgs' at the command prompt.

And so, I ran that command (if you don't have your system variables set up, you may have to browse to folder where the IDE executable resides. For example: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE).

No comments: