Visual Studio Developer Center > Visual Studio Forums > Visual Studio Extensibility > Package 'Visual Studio Explorers and Designers Package' has failed to load properly due to add-in?
Ask a questionAsk a question
 

AnswerPackage 'Visual Studio Explorers and Designers Package' has failed to load properly due to add-in?

  • Monday, June 02, 2008 1:42 PMPeter RitchieMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I've got a couple of computers where I get Package 'Visual Studio Explorers and Designers Package' has failed to load properly errors; but only since I've started playing around with some VSX add-ins.

    Is it possible that this error is due to a command or CommandBar created on add-in startup that wasn't deleted on shutdown?

    Cheers -- Peter
    http://www.peterRitchie.com/blog

Answers

All Replies

  • Monday, June 02, 2008 3:50 PMFeng ChenModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    This should be Package Load Failures and should not be because of the command or CommandBar.

    And I'd like to provide you with the following references about troubleshooting tips of such kind of issue:
    Definitive list of workarounds for Package Load Failure errors in Visual Studio 2005
    Debugging Package Load Failures

    And please feel free to tell me if these do not help you about this issue. If you still can not solve it, could you please provide more information about the error?

    Thanks!

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Monday, June 02, 2008 3:57 PMPeter RitchieMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    This is in VS 2008, Aaron's detail in the first link details "if you have never had a VS 2005 on your system and are encountering package load failure errors, these steps will most likely not help."  Repairing .NET 2.0 and deleting the native images does not fix the problem, and running ttool.exe finds no problems.

    The second link deals with custom packages; I am unable to debug "Visual Studio Explorers and Designers Package".

    http://www.peterRitchie.com/blog
  • Tuesday, June 03, 2008 12:06 AMFeng ChenModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Peter,

    Sorry to hear that this problem still exits.

    Could you please provide the GUID following the error message? Have you used Assembly Binding Log Viewer? Based on my experience, this kind of issue might caused by assembly loading failure. Also you can use Process Monitor to see if there are any registry error causing this issue.

    Thanks!



    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Tuesday, June 03, 2008 1:40 PMPeter RitchieMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
      The GUID was 8D8529D3-625D-4496-8354-3DAD630ECC1B.  I was getting the failure going into project properties.  I'm unable to reproduce the same failure. I'm now getting "An error has occurred trying to load the page. COM object that has been separated from its underlying RCW cannot be used.
    http://www.peterRitchie.com/blog
  • Wednesday, June 11, 2008 4:41 PMPeter RitchieMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    This problem was due to Microsoft Source Code Analysis for C#.  See http://code.msdn.microsoft.com/sourceanalysis/WorkItem/View.aspx?WorkItemId=9
    http://www.peterRitchie.com/blog
  • Tuesday, August 26, 2008 1:36 PMGregor Suttie Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Mate u r the MAN! - that was really bugging me as no onelese at my work was getting it - removed it an it works fine.

    Thanks for your post!

    G
  • Tuesday, August 26, 2008 2:45 PMPeter RitchieMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    What version of Source Code Analysis for C# were you using?
    http://www.peterRitchie.com/blog