loop8ack / ExtensionPackTools

Import and export lists of Visual Studio extensions.
Other
79 stars 15 forks source link

Manage Solution Extensions - Could not load type error #71

Closed DonovanAGBR closed 1 year ago

DonovanAGBR commented 1 year ago

Describe the bug When I try to "Manage Solution Extensions..." in Visual Studio Enterprise 2022 (64-bit) - Preview, Version 17.6.0 Preview 2.0 , Extension Manager 2022 Version: 1.1.82, I get this error message:

Extension Manager 2022 Could not load type 'Microsoft.VisualStudio.ExtensionManager.GalleryOnlineExtension' from assembly 'Microsoft.VisualStudio.ExtensionEngine, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'."

To Reproduce Steps to reproduce the behavior:

  1. Open a solution
  2. Right click on the solution
  3. Select "Manage Solution Extensions..."
  4. See error

Expected behavior A modal window with a listing of installed extensions should appear.

Screenshots devenv_Xw7qGggHGn

Additional context I attempted to uninstall and reinstall the extension, but still received the error.

robert-andrzejuk commented 1 year ago

Isn't this a duplicate of #70 ?

loop8ack commented 1 year ago

I have described a fix for the problem here: https://github.com/madskristensen/ExtensionPackTools/issues/70#issuecomment-1546908590

zackmuc commented 1 year ago

@loop8ack Microsoft.VisualStudio.ExtensionEngineContract.dll is missing in my VS 17.5.5

loop8ack commented 1 year ago

@zackmuc Did the extension work for you before my update? If yes, then the broken update came afterwards and has not been released yet. However, I will need some time to look into it, so you should continue using the previous version until I have a fix.

loop8ack commented 1 year ago

@zackmuc I found a solution to the problem that the two versions (Normal and Preview) differ too much. I took the repository from @madskristensen, I couldn't set up AppVeyor yet, so I attached a build for you. Please test if it solves your problem, then I'll put an update online.

Download: ExtensionManager2022.zip

pbldk commented 1 year ago

Works here for me now.

loop8ack commented 1 year ago

AppVeyor is live: https://ci.appveyor.com/project/loop8ack/extensionpacktools An update for the Visual Studio Marketplace is also coming.