Giter Site home page Giter Site logo

Comments (5)

slluis avatar slluis commented on June 30, 2024

What you do is correct and should work. If you are using the latest Mono.Addins version then maybe you found a bug. Try providing a console progress monitor in the Update call, with verbosity set to max. Maybe this will print an error you are missing.

from mono-addins.

xiexin36 avatar xiexin36 commented on June 30, 2024

Hi slluis, Thank you for your reply.
I searched this problem by Google, and I found this https://groups.google.com/forum/#!searchin/mono-addins/AddinManager.Registry.Update/mono-addins/QMTfoVWfSEc/j97DXSjC4gcJ , the same problem,
Today I test it again, unfortunately it only appear when release build.

from mono-addins.

gnimor avatar gnimor commented on June 30, 2024

Hi slluis, I can also see the same behavior with 1.3. The only workaround currently is to start the application once more, then the add-ins show up as expected.

from mono-addins.

gnimor avatar gnimor commented on June 30, 2024

In addition to my last comment, I just want to add more steps to reproduce. So I have an add-in registered for my application which works fine. I am doing an initialize with a followed update call during application startup. Now running a touch on the add-in dll (just to update the timestamp) results in an empty extension list. The output looks like:

Using assembly reflector: Mono.Addins.CecilReflector.Reflector
Folders scan completed (405 ms)
Generating add-in extension maps
Doing a partial registry update.
Add-ins to be updated:
Add-ins whose relations have to be updated:
Registering new extensions:
Addin relation map generated.
Addins Updated: 0
Extension points: 0
Extensions: 0
Extension nodes: 0
Node sets: 0
Add-in relations analyzed (31 ms)
Hello World!

from mono-addins.

gnimor avatar gnimor commented on June 30, 2024

After some further investigation it seems I have tracked down the problem. The issue occurs if there is a root add-in located in the Global Assembly Cache (GAC). During the first scan this add-in will be added with a domain e.g. "1". Then after adding another add-in, the framework tries to get the description for the GAC add-in from the "global" domain which is not available.

from mono-addins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.