M
Mike Bromwich
Hi
Our product can interact with a number of third party assemblies, as
long as the customer has purchased and installed these libraries. We
do not want to add references to these assemblies into our solution,
since this stops the product from running if the assemblies are not
present.
We could change our product to call the third-party assemblies using
reflection, but the interface exposed by the assemblies is complex and
this would be a very laborious and error-prone approach.
What we would like is a tool which we can point at an assembly, and
which would use reflection to generate a new assembly which exposes
the same interface but which calls the underlying assembly using
reflection. The output from this tool would be referenced by our
product, but if we call a method on a non-existent assembly this would
result in an exception rather than the product itself not loading.
Does such a tool exist?
Thanks
Mike
Our product can interact with a number of third party assemblies, as
long as the customer has purchased and installed these libraries. We
do not want to add references to these assemblies into our solution,
since this stops the product from running if the assemblies are not
present.
We could change our product to call the third-party assemblies using
reflection, but the interface exposed by the assemblies is complex and
this would be a very laborious and error-prone approach.
What we would like is a tool which we can point at an assembly, and
which would use reflection to generate a new assembly which exposes
the same interface but which calls the underlying assembly using
reflection. The output from this tool would be referenced by our
product, but if we call a method on a non-existent assembly this would
result in an exception rather than the product itself not loading.
Does such a tool exist?
Thanks
Mike