Sunday, February 15, 2009

Visual Studio 2008 - Make sure the application for the file type (.xaml) is installed - Quick Fix

February 15, 2009 Posted by Jason Irwin , , 14 comments

I recently started getting the following error message when attempting to open the design view of a XAML document in VS2008:

Make sure the application for the file type (.xaml) is installed

I haven't yet been able to determine the root cause of the issue (I run SP1 of both the .NET Framework and Visual Studio itself and use this functionality every day), though there is a pretty straightforward fix. Navigate to the IDE folder of your VS2008 installation (for me: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\) in DOS and run the following:

devenv.exe /setup

Reopening the development environment should result in the return of this functionality.

14 comments:

Anonymous said...

Hello, its doesnot work on me, i got this error after unistalling Delphi prism.

Til now i have try reistalling VC# express, reinstall .NET 3.5, and so on and nothing works.

I'm using Vista

Tim said...

Perfect. Thanks for saving me some hassle.

Collin said...

Awesome! It worked. I have tried numerous things and nothing was working.

Whats really weird is I did what you said and got some error saying it couldn't do it. however when I re-loaded the environment I could see the XAML highlights. Then I clicked View-> Designer and WAMMO!
Thanx again! I was starting to loose it.

Anonymous said...

This works. Thanks!

eric fruitbat said...

Jirwin, I thank you!

Chris said...

Thanks alot, that worked great.

Anonymous said...

Awesome! Thanks so much. You spared me the usual headaches.

Anonymous said...

Hey its working for me ,

Thanks for quick fix
parvathi

Pavan said...

Thanks a lot

Pavan

Anonymous said...

Thank You!

Anonymous said...

Thanks for the works, saved me.

Anonymous said...

I tried repairing my visual studio and then tried devenv /resetSkipPkgs, still the problem is reproducible. Is there any other alternative?

Anonymous said...

It seems to work. Thanx a lot!

Cenk Ă–zdemir said...

Thanks,it worked!