loop8ack / ExtensionPackTools

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

Error importing extensions in VS 2022 17.9.2 #81

Closed FIASJason closed 6 months ago

FIASJason commented 6 months ago

I'm setting up a new machine and downloaded the most recent build of Visual Studio 2022 (17.9.2) and Extension Manager 2022 (1.2.160).

When I attempt to import or export my extensions, I get the following error:

Extension Manager 2022
Method 'get_IsPublisherDomainverified' in type
'ExtensionManager.V17_7.GalleryEntry' from assembly
'ExtensionManager2022.V17_7, Version—I-O.O.O.
Culture:neutral, PublicKeyToken=null' does not have an
implementation.

image

This seems to be the same issue as #80.

loop8ack commented 6 months ago

You're absolutely right, these two issues are indeed related. This extension relies on DLLs from Visual Studio, which can be subject to changes during Visual Studio development, leading to such errors. In this case, an abstract IsPublisherDomainVerified property has been added.

Unfortunately, I haven't found a robust long-term solution for this issue yet. Do you have any ideas? The only approach that comes to mind is to search for the DLLs on the first launch and generate the required code ourselves, but this could introduce complexity and other potential errors.

I've updated the DLLs, resolved the conflicts, and published an update (Version 1.2.182). Please test to see if the issue is resolved on your end.

FIASJason commented 6 months ago

Thanks, everything seems to be working now.