H
Harry F. Harrison
Hi all...
During startup of an ASP.NET app, I have code that dynamically goes out and
loads assemblies, looking for objects that implement a particular interface.
This code works fine, EXCEPT, the objects do not get unloaded out of the
ASPNET_WP process when I end the application during debugging, and come back
to Visual Studio. I have to manually kill the ASPNET_WP process in order to
re-build the dlls, as they are locked - something that normally shouldn't
happen, but is.
Any ideas? I've thought about loading the objects into another AppDomain,
but it seems like a lot of extra work everytime I want to load objects
dynamically under ASPNET.
During startup of an ASP.NET app, I have code that dynamically goes out and
loads assemblies, looking for objects that implement a particular interface.
This code works fine, EXCEPT, the objects do not get unloaded out of the
ASPNET_WP process when I end the application during debugging, and come back
to Visual Studio. I have to manually kill the ASPNET_WP process in order to
re-build the dlls, as they are locked - something that normally shouldn't
happen, but is.
Any ideas? I've thought about loading the objects into another AppDomain,
but it seems like a lot of extra work everytime I want to load objects
dynamically under ASPNET.