Mono.Addins is a generic framework for creating extensible applications, and for creating libraries which extend those applications. For for information about the library, see: http://www.mono-project.com/Mono.Addins Building -------- To build the library execute: ./configure make Options: --prefix=/path/to/prefix Install to the specified prefix --enable-gui Include GUI support for GTK2 (requires gtk#2) --enable-gui-gtk3 Include GUI support for GTK3 (requires gtk#3) --enable-tests Include NUnit tests (requires nunit) Building the samples -------------------- cd to the Samples directory and run make. Running the NUnit tests ----------------------- To run the NUnit tests, you need to configure the build with --enable-tests, cd to Tests, and run 'make test'.
Mono.Addins is a generic framework for creating extensible applications, and for creating add-ins which extend those applications.
Mono.Addins is a generic framework for creating extensible applications, and for creating libraries which extend those applications. For for information about the library, see: http://www.mono-project.com/Mono.Addins Building -------- TCategory: .NET / Application Frameworks |
Watchers: 37 |
Star: 159 |
Fork: 97 |
Last update: Sep 24, 2023 |
…custom localizer is supplied
This should avoid probing for a built-in localizer when a custom one is supplied.
Also, avoid doing stock localizer probing in case it's a custom localizer.
Benchmark determines the Assembly.GetType version is faster: https://github.com/Therzok/BenchPlayground/blob/859851620080f1298f919dd68b4f6c06d1e18705/BenchPlayground/Benchmarks/runtime/GetType.cs https://github.com/Therzok/BenchPlayground/blob/master/BenchPlayground/Benchmarks/runtime/GetType.md
It's no longer possible to build or package this correctly with the makefiles, so clean them up. Remove the changelogs too, as they're outdated and the info is in the git logs. Switch NuGet refs to PackageReference and set up NuGetizer to create package automatically for release builds.
Hi all, does Mono.Addins work on net6 platform. It goes an error, and it worked fine ion older platform (net472), but not net6 platform. Has anyone done it? It supports net standard 2.0, should support net6. Thanks
Got following errors: System.InvalidOperationException: Add-in engine not initialized. at Mono.Addins.AddinEngine.CheckInitialized() at Mono.Addins.AddinEngine.get_Registry() at Mono.Addins.AddinEngine.CheckHostAssembly(Assembly asm) at Mono.Addins.AddinEngine.ValidateAddinRoots() at Mono.Addins.AddinEngine.GetAddin(String id) at Mono.Addins.TreeNode.ResetCachedData() at Mono.Addins.TreeNode.ResetCachedData() at Mono.Addins.TreeNode.ResetCachedData() at Mono.Addins.ExtensionContext.ResetCachedData() at Mono.Addins.AddinEngine.ResetCachedData() at Mono.Addins.Database.AddinDatabase.ResetCachedData() at Mono.Addins.Database.AddinDatabase.Shutdown() at Mono.Addins.AddinRegistry.Dispose() at Mono.Addins.AddinEngine.Shutdown() at Mono.Addins.AddinManager.Shutdown()
Would be nice to have this, otherwise we can't debug into Mono.Addins:

This allows for one addin to initialize the localization engine, and other addins to reuse it.
Fixes VSTS #640900 - Custom translation catalog causes addin assemblies to be loaded on startup
Version 1.3.5 is building correctly but failing to install:
root@darkstar:/tmp/slackbuilds/mono-addins/mono-addins-c636f258d0a724e7c0de447ea717d18cb90bfb17# make DESTDIR=/tmp/package-mono-addins install
Making install in Mono.Addins
make[1]: Entering directory '/tmp/slackbuilds/mono-addins/mono-addins-c636f258d0a724e7c0de447ea717d18cb90bfb17/Mono.Addins'
make[2]: Entering directory '/tmp/slackbuilds/mono-addins/mono-addins-c636f258d0a724e7c0de447ea717d18cb90bfb17/Mono.Addins'
/usr/bin/gacutil /i ../bin/Mono.Addins.dll /f /package mono-addins /root /tmp/package-mono-addins/usr/local/lib || exit 1;
Failure adding assembly ../bin/Mono.Addins.dll to the cache: Strong name cannot be verified for delay-signed assembly
Makefile:552: recipe for target 'gac-install' failed
make[2]: *** [gac-install] Error 1
make[2]: Leaving directory '/tmp/slackbuilds/mono-addins/mono-addins-c636f258d0a724e7c0de447ea717d18cb90bfb17/Mono.Addins'
Makefile:429: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/tmp/slackbuilds/mono-addins/mono-addins-c636f258d0a724e7c0de447ea717d18cb90bfb17/Mono.Addins'
Makefile:350: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
Note that DESTDIR is used for linux packing.
null
…the 744 version which worked the last time.
Hi All,
We have recently upgraded our project from .net 4.7.2 to .NET6. We are using MonoAddin (net standard 2.0). One of the testcase is failing when we try to
List
And further Children property is empty
AddChildNode in TreeNode.cs is not called
I think it is a bug? or guide me to solve the issue?
Thank You
I'm working on a project that uses Contextual messages, and am using this library for extensibility. Internally the project uses the Gettext.NET library, which has support for the GetParticular* methods. Having interfaces exposing localizer methods for those would be useful for allowing addins to easily use them.
@slluis Could we also publish the Gui projects as nugets?
Fixed some problems with the original PR https://github.com/mono/mono-addins/pull/149
mono-addins-1.3(Aug 3, 2016)
- It is now possible to specify a default insertion point in an extension point. This can be done using two new attributes: defaultInsertBefore and defaultInsertAfter.
- New GetResourceInfo() method in RuntimeAddin. It can be used to get information about how a resource has been persisted.
- Add support for application level add-ins config file. Allows applications to disable shipped add-ins by default.
- New icons in add-in manager.
- Fixed incorrect text format when using the console logger.
- Fixed bug when loading gettext catalog.
mono-addins-1.2(Nov 20, 2014)
This releases has several improvements and bug fixes:
- Fixed bug that caused add-ins to be disabled when being updated.
- Fixed several issues when scanning assemblies.
- When evaluating a condition, ensure that the add-in that implements that condition is loaded. This change requires some new information to be stored in the add-in database, so the db version number has been bumped.
- Fixed assembly resolution bug when running in MS.NET.
- Added GTK3 implementation of the add-in manager.
- Registered repositories are now automatically updated the first time the add-in manager is shown.
mono-addins-1.1(Jan 24, 2014)
This releases has several improvements and bug fixes
- When disabling an add-in, disabled all versions of the add-in
- Allow embedding .addin files into submodule assemblies
- Fixed some issue when scanning dlls
- Added new assembly attributes for defining add-in properties
- Fixed deadlock when loading add-in roots
- Fixed GAC assembly directory search for .net 4.0
- Added support for variables in add-in manifests
- Updated Cecil from upstream