DLL not released after ending debugging

H

Harry F. Harrison

I'm using System.Activator to dynamically load dlls, and when finished
running the app in debug mode, I can not re-compile the DLLS. It complains
that the files are locked.

If I kill the aspnet_wp process in task manager, I am then able to rebuild
the dlls.

Any ideas?
 
H

Harry F. Harrison

Thanks Scott.

I was using Assembly.LoadFile instead of Assembly.LoadFrom. The blog states
that LoadFile doesn't go through the same code that uses the Shadow Copy
Feature.

Mundane details...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top