Comments (5)
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.
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.
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.
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.
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)
- [Engine] Detailed addin load reporting HOT 2
- Allow IAssemblyReflector to be properly disposable HOT 2
- Add a way to print out the addin dependency tree
- [Setup] A tool that can print all addin assemblies and their imports
- Unknown extension node attributes are ignored
- Default ID based on class name
- Create a default XML Schema Definition for IntelliSense HOT 1
- IProgressStatus should expose a CancellationToken
- Support executable addin files
- Loading reference Assemblies for Addin with AssemblyResolve HOT 1
- Monodevelop on an embedded Linux
- Add support for specifying which resourcemanager to use for a stringresource localizer
- Addins doesn't discover addins correctly in mono64 as it does in mono32
- Publish .Gui* packages
- Failed to run after migrating to netstandard2.1 and net6.0 HOT 1
- Possibility of allowing the usage particular (context using) Gettext methods
- Question about ConsoleProgressStatus as subclass of System.MarshalByRefObject
- Mono.Addins on net6 HOT 9
- MonoAddin .NET6 HOT 1
- mono addin vs autofac DI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mono-addins.