Valued Contributor
Posts: 93
Registered: ‎12-04-2009
Message 41 of 41 (101 Views)

Re: Using AutoLoader with dependencies

01-29-2013 07:11 PM in reply to: tonofsteel

I am not building and supplying the path to LoadFrom because the code that calls LoadFrom is in a third party library.  Luckily in this case I have the source code that I can modify, so it is not a huge deal now that I understand what is going on.


This is why it threw me for such a loop, I did not even know about or ever used LoadFrom.  If I was going to build something extensible that dynamically loaded assemblies I would try use MEF which may or may not have avoided all this.


My main concern is that everytime I update that library this same issue is going to come up if I can't convince them to change their code base.  If I set the CurrentDirectory then this should allow me to upgrade the library as it is released without having to worry about changing this code every time.


The library is based around Entity Framework using a generic repository.  The mapping files are for linking POCO objects to the SQL server data store.

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.