Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
Important note - the steps in this blog post have typically only proven useful in cases where a previous beta of Visual Studio 2005 was installed on the system prior to installing the final release of VS 2005. If you have never had a beta of VS 2005 on your system and are encountering package load failure errors, these steps will most likely not help. In that type of scenario, I recommend running devenv.exe with the /log switch (described in this MSDN topic) to create a log file of the packages it tries to load and then search in that log file for errors and warnings to help narrow this issue down further.
A few customers have contacted me because they have seen the following package load failure error message after uninstalling VS 2005 beta 1 and upgrading to the VS 2005 July or August Community Tech Preview (CTP):
They have all tried running the VS 2005 beta cleanup tool (located here) but did not have any success. One of the fixes that the VS 2005 cleanup tool makes is to delete some native images, and the directory that it uses to delete the native images from is specific to VS 2005 beta 2. However, I recently figured out that this fix needs to be modified to work correctly for post beta 2 CTP builds. That means the current version of the cleanup tool will fix this package load error if you upgrade from beta 1 to beta 2, but not if you upgrade from beta 1 to a post beta 2 build such as the July or August CTP.
There are a couple of options for how to fix this issue:
1. You can use these manual steps:
The above steps will remove an incorrect native image from the native image cache and then re-run NGEN.exe to generate a new set of correct native images.
2. You can download a work-in-progress version of the updated VS 2005 cleanup tool
This new version of the cleanup tool will automatically fix this issue on both VS 2005 beta 2 and post-beta 2 builds. Please note that the cleanup tool is still being enhanced to handle additional known issues and should be used at your own risk. Please provide feedback about this tool at this link (my contact page) and/or at this link (Hong's contact page).
<update date="4/11/2008"> Added a caveat to the top of this post indicating that it is typically only useful on systems that had a previous beta version of Visual Studio 2005 installed. </update>
I've tried all of this none of it works. I even tried to run FSCAN but it only flashes and disappears?
Hi Tanya52185 - The steps in this blog post are only useful if you previously had a beta version of VS 2005 installed on your system. If that is not the case on your system, then I'd suggest trying to do the following:
1. Click on the Start menu, choose Run, type cmd and click OK
2. Run this command: "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" /log %temp%\devenv.log
3. Look for errors or warnings in the file %temp%\devenv.log that might help explain the cause of this package load failure
If you don't see anything in there that helps narrow this down, then I'd suggest posting a question on one of the MSDN forums at http://forums.microsoft.com and hopefully someone there can help suggest some other workarounds for you in this scenario.
Also, when running FSNAP, you need to make sure that you run it from a cmd prompt instead of from the Run prompt. To do that, click on the Start menu, choose Run, type cmd and click OK. Then run fsnap from the cmd prompt that appears.
PingBack from http://www.foro.vb-mundo.com/f25/error-al-cargar-paquete-visual-studio-common-ide-package-13220/#post49833