Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Example application and simpler licensing... #3

Open
tapika opened this issue Oct 12, 2020 · 0 comments
Open

Example application and simpler licensing... #3

tapika opened this issue Oct 12, 2020 · 0 comments

Comments

@tapika
Copy link

tapika commented Oct 12, 2020

  1. Usage example / example test application

Just wanted to create ticket on example of how to use, but then noticed that in one of closed ticket
#2

There is an example of usage.

I would prefer that it would be documented in readme or documentation.

It would be also cool to have sample "console" application, which would show an example of how things works.

I've by myself tried to integrate code inside and even fixed couple of exceptions - but did not manage to get assembly unload working.

It would be good that unload could be actually called - either from client side or from dll side.

I've could not figure out how to "officially" unload assembly, so added throw new Exception into plugin Start - but got an exception Cannot unload non-collectible AssemblyLoadContext.. (.net core 3.1, but I want to try out also .net framework).

  1. GPL License is too restrictive. I would propose MIT, because then I could consider to reuse that code.

If you change license - I'm also thinking about adding support for native C++ plugins, and add some pinvoke mechanics to
operate on any plugin type. One thing I was also considering if it's possible to completely abstract .net platform by using [DllExport] on test dll host / C# side and [DllImport] on dll side.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant