I have an Assembly Library1.dll
which contains some Interfaces, which were serialized as a byte array into the database. For some reasons we have to change the Interface properties and defintion. so now i am writing a migration utility. So i have 2 versions of Library1.dll
, In my utility i have created a folder where i store the new version of Library1.dll
. This utility in turn also references Library1.dll
hence in bin folder contains Library1.dll
but this dll is compiled on older version. My new version of Library1.dll
is stored in a private path which i am passing to Assembly.ReflectionOnlyLoadFrom
function to instantiate and hence GetTypes
on the assembly loaded which further would enable me to do conversion of data.
But I always get ReflectionTypeLoadException
when trying to load Library1.dll
from private path.
Please help guys!!!. any help would be appreciated. I am really stuck.
Thanks, AG