Error loading XNA visual studio package

Hi,

When I try to use any of the XNA commands in Visual Studio .NET 2005 Professional Edition (e.g. Globals Window) I get the following error message:

"Package 'Microsoft.Xna.UI.XnaStudioPackage.XnaStudioPackage, Microsoft.Xna.UI.XnaStudioPackage, Version=1.0.2243.4602, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff' has failed to load properly ( GUID = {CE7DE4D4-4A42-4DCA-B389-0CC2CCDF555F} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading."

and, needless to say, the XNA windows don't appear. I ran VS with the /log option, and it contained the following interesting output:

<entry>
<record>40</record>
<time>2006/08/06 00:35:02.703</time>
<type>Warning</type>
<source>Microsoft Visual Studio Appid Stub</source>
<description>CheckPackageSignature failed; invalid Package Load Key</description>
<guid>{CE7DE4D4-4A42-4DCA-B389-0CC2CCDF555F}</guid>
</entry>
<entry>
<record>41</record>
<time>2006/08/06 00:35:02.718</time>
<type>Warning</type>
<source>Microsoft Visual Studio Appid Stub</source>
<description>CheckPackageSignature failed; invalid Package Load Key</description>
<guid>{CE7DE4D4-4A42-4DCA-B389-0CC2CCDF555F}</guid>
</entry>
<entry>
<record>42</record>
<time>2006/08/06 00:35:02.765</time>
<type>Error</type>
<source>Microsoft Visual Studio</source>
<description>LoadLibrary failed for package [Microsoft.Xna.UI.XnaStudioPackage.XnaStudioPackage, Microsoft.Xna.UI.XnaStudioPackage, Version=1.0.2243.4602, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff]</description>
<guid>{CE7DE4D4-4A42-4DCA-B389-0CC2CCDF555F}</guid>
<hr>800700c1</hr>
<path>C:\WINDOWS\system32\mscoree.dll</path>
</entry>

Not really sure where to go from that, as the PLK seems to be part of the VSIP stuff that I don't have any clue about. Though it is worth noting that this started happening at an eerily similar time to when I installed the VS SDK (which has since been uninstalled, and VS and XNA both uninstalled/reinstalled, but the problem persists).

[2578 byte] By [RichardFine] at [2008-2-27]
# 1

Try giving this thread a read, it's not perfect but there are some solutions to try there, I would give the cleanup utility a try http://blogs.msdn.com/astebner/archive/2005/10/27/485987.aspx as I think that's going to be your best bet getting it to work. You'll want to use "The Hammer)

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=314349&SiteID=1

MichaelKlucher-MSFT at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...
# 2
Sorry, no dice. Even after applying The Hammer (and then applying it again to make sure it didn't miss anything), reinstalling VS and XNA still gives me the same error.

Any idea what to try next? If you could shed any light on exactly what the PLK stuff is about then I might be able to try finding my own solution more effectively.

RichardFine at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...
# 3

Richard,

I'm the XNA Program Manager looking after XNA Build. We haven't been able to isolate this particular issue and I apologize for that.

I did want to let you know that based on feedback from customers we have lowered the overall priority of the graphical build designer. Many customers have asked us to concentrate on the "core" build technology (specific content build tasks, ARM API, performance etc) rather than the graphical build designer. That's not to say that the graphical designer isn't important - it's just that we want to make sure that fundamental technology works and scales approporiately for game studios.

Joe

JoeNalewabau at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...
# 4
OK, thanks for saying so. I'd agree that concentrating on the core technology makes sense - the amount of time you spend creating your build pipeline is nothing compared to the amount of time you spend actually making builds with it, so the effort gets distributed accordingly.

Is the graphical designer the only component in the VS add-in, then? I thought there were some pieces for visualising the execution of builds as well.

RichardFine at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...