G
Guest
Our software is interface based meaning that we don't add any references to
implemntation assemblies. All loading is done via
Activator.CreateInstance(assembly, class name). Our components that we are
instancing are loaded in the GAC.
In preparing for a version change in our software we are wondering how we
would be able to instance a particular version of a component. Say I know
the class name and assembly, yet there is a version 1.0.0.0 and a version
2.0.0.0 and I specifically want to load version 1.0.0.0. What can I do to
ensure this is the version that I get? There doesn't seem to be an overload
for loading a particular version of a component via Activator.
I thought I would create the type as well, but I can't fiure out how to
specify version. Any thoughts?
If there is a better newsgroup to post this question on, please let me know.
Thanks,
implemntation assemblies. All loading is done via
Activator.CreateInstance(assembly, class name). Our components that we are
instancing are loaded in the GAC.
In preparing for a version change in our software we are wondering how we
would be able to instance a particular version of a component. Say I know
the class name and assembly, yet there is a version 1.0.0.0 and a version
2.0.0.0 and I specifically want to load version 1.0.0.0. What can I do to
ensure this is the version that I get? There doesn't seem to be an overload
for loading a particular version of a component via Activator.
I thought I would create the type as well, but I can't fiure out how to
specify version. Any thoughts?
If there is a better newsgroup to post this question on, please let me know.
Thanks,