Mono.Addin implementation doesn't retrieve addins

寵の児 提交于 2019-12-05 20:28:40

The problem here is that the extension point for IOrganizerPlugin is defined in project1, which is not an addin nor an add-in root. The solution is to add this reference in project2:

[assembly:ImportAddinAssembly ("project1.dll")]

In this way project1 becomes part of the App.Organizer add-in root, and the extension points in project1.dll will be correctly registered.

Don't know why or if there are some implementing reasons but moving the specialized plugin interface (IOrganizerPlugin) inside the same assembly as the plugin host works for me.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!