views:

334

answers:

4

Package Load Failure

Package 'Microsoft.VisualStudio.Xaml' has failed tot load properly. . . yadda, yadda, yadda.

So now what? This package is somewhat important since I was hoping to do some WPF stuff this afternoon. Tried running without it and my XAML design view is gone.

I already tried "devenv /resetsettings" from the command prompt.

Thanks, Scott

A: 

Try repairing the install.

  • Control Panel
  • Add Remove Programs
  • Select Visual Studio 2008 and choose "repair"

Did you recently install any updates to Visual Studio or any Add-Ins? If so can you please list them?

JaredPar
Repair was successful. I did not install any add-ons or apply any updates to VS. A few weeks ago, I downloaded KaXaml and played around with that.
Scott
A: 

I -FINALLY- saw this error going into Tools|Options|Environment Fonts and Colors after trying everything I could think of to get it not to crash when I chose Tools|Import and Export Settings.

John Dunagan
A: 

I had this problem when I installed Visual Studio Professional.

My theory was that it was because I already had Visual C# 2008 Express Edition installed.

Once I uninstalled both then reinstalled Visual Studio Professional it worked.

This is consistent with the OP's solution, which was to uninstall anything else which implemented XAML functionality.

Andrew Shepherd
+1  A: 

Install SP1: http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&displaylang=en

I had this problem after a fresh install of VS2008 Team System. Tried loading the updates, running setup, re-installing. No luck.

Installed SP1 and bingo! No more package load failures.

DavidB
Worked for me. I'm on Windows 7 but I didn't have to do that on Windows Server 2003.
sabbour