Conari
Conari copied to clipboard
Support of .NET libraries
It probably should be useful features for work without domains and their common problems with unloading assemblies.
So main idea (noticed here https://github.com/3F/DllExport/issues/9) to provide unified work with managed and unmanaged code via lightweight bridge.
using(var l = new ConariL("managed_net_lib.dll")) {
// any convenient work via Bridge & dynamic API layer
}
// fully unloaded !
Basic example is a https://github.com/3F/vsSolutionBuildEvent
where Provider in the role of the binder between API & main core:

But do not forget about ~ access security and partially-trusted code, etc.
I don't think about fully compatible way, but the any useful bridge, like in example above, this is what we need...