Microsoft Developer Network > Página Inicial dos Fóruns > Visual Studio Extensibility > Package 'Visual Studio Explorers and Designers Package' has failed to load properly due to add-in?
Fazer uma PerguntaFazer uma Pergunta
 

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

  • segunda-feira, 2 de junho de 2008 13:42Peter RitchieMVPMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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

Respostas

Todas as Respostas

  • segunda-feira, 2 de junho de 2008 15:50Feng ChenModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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.
  • segunda-feira, 2 de junho de 2008 15:57Peter RitchieMVPMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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
  • terça-feira, 3 de junho de 2008 0:06Feng ChenModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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.
  • terça-feira, 3 de junho de 2008 13:40Peter RitchieMVPMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
      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
  • quarta-feira, 11 de junho de 2008 16:41Peter RitchieMVPMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    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
  • terça-feira, 26 de agosto de 2008 13:36Gregor Suttie Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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
  • terça-feira, 26 de agosto de 2008 14:45Peter RitchieMVPMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    What version of Source Code Analysis for C# were you using?
    http://www.peterRitchie.com/blog