hi
i have a web application and i need to dynamically load assemblies into that application. in order to not have my assemblies locked i enabled the shadowcopy-feature (or more precisely: i added the path of the assemblies to the shadowcopypath since shadowcopying is by default enabled for asp.net applications). indeed my assemblies are now shadowcopied; but every instance loaded from these assemblies generate an invalid cast exception (note: the loading succeeds; but the casting fails). everything works fine without the shadowcopying.
my guess is that the referenced interfaces are different (versioning problem?) but i have no idea if that's true and why it would be that way. anybody got an idea?
thx in advance
i have a web application and i need to dynamically load assemblies into that application. in order to not have my assemblies locked i enabled the shadowcopy-feature (or more precisely: i added the path of the assemblies to the shadowcopypath since shadowcopying is by default enabled for asp.net applications). indeed my assemblies are now shadowcopied; but every instance loaded from these assemblies generate an invalid cast exception (note: the loading succeeds; but the casting fails). everything works fine without the shadowcopying.
my guess is that the referenced interfaces are different (versioning problem?) but i have no idea if that's true and why it would be that way. anybody got an idea?
thx in advance