Skip to content

Bug: Loading plugin fails #160

Closed
Closed

Description

@Sam13

Type (choose one):

  • Bug

NPE version: 3.21.0.0

Installed from: ClickOnce

In case of a BUG:
Loading a plugin fails. Works with 3.19.0.0.
Error: Could not load file or assembly 'NuGetPackageExplorer.Types, Version=3.0.0.0, ...'
untitled
To reproduce just open the plugin dialog and try to add a feed plugin.
No workaround possible.

Activity

  1. 304NotModified commented on Jan 4, 2017

    @304NotModified
    Collaborator
  2. 304NotModified commented on Jan 4, 2017

    @304NotModified
    Collaborator

    Can confirm this one.

    image

  3. 304NotModified commented on Jan 4, 2017

    @304NotModified
    Collaborator

    @Sam13 could you test it by changing

    in NuGetPackageExplorer.exe.config

    change 3.10 -> 3.12 (twice) in <bindingRedirect >

    from:

    So

               <dependentAssembly>
                    <assemblyIdentity name="NuGetPackageExplorer.Types" publicKeyToken="b33e3c54f0b885e9" culture="neutral"/>
                    <bindingRedirect oldVersion="1.0.0.0-3.10.0.0" newVersion="3.10.0.0"/>
                </dependentAssembly>
    

    to:

               <dependentAssembly>
                    <assemblyIdentity name="NuGetPackageExplorer.Types" publicKeyToken="b33e3c54f0b885e9" culture="neutral"/>
                    <bindingRedirect oldVersion="1.0.0.0-3.12.0.0" newVersion="3.12.0.0"/>
                </dependentAssembly>
    

    got now:

    image

    not sure if this is a bug in NPE or the plugin

  4. Sam13 commented on Jan 5, 2017

    @Sam13
    ContributorAuthor

    @304NotModified Not able to load any plugin, different errors for different plugins. Also unable to load my own plugin which worked with 3.19 (loading all plugins worked there)...

  5. clairernovotny commented on Jan 22, 2018

    @clairernovotny
    Member

    @Sam13 The Plugin system needs to be revamped & fixed up, especially since in v4 the main dependencies shifted significantly (towards using NuGet's libraries).

    Is your plugin open-source? If so, can you point me to it? I'd like to ensure we get it working when we solve this.

  6. 304NotModified commented on Apr 9, 2018

    @304NotModified
    Collaborator

    We could close this one, isn't?

  7. campersau commented on Apr 9, 2018

    @campersau
    Collaborator

    I think so.
    The old plugins are not compatible anymore mainly because the IPackage interface has moved to the NuGetPe namespace. See NuGetPackageExplorer/Extensions.IlSpy#1

  8. clairernovotny commented on Apr 9, 2018

    @clairernovotny
    Member

    I'll close this one then for now, but aside from getting ILSpy to work, we ought to think of what the plugin model should be going forward. Maybe what we have is fine, maybe it needs work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions