Since this is the closest thing I could find to a dedicated T4 newsgroup, I thought I'd post here. I'm using FxCop's AssemblyNode.GetAssembly to load assemblies (while putting in a using block to ensure it is disposed) and I'm getting the following
error on one of my assemblies:
"Unable to copy file "...dll" to "...dll". The requested operation cannot be performed on a file with a user-mapped section open."
I thought that using AssemblyNode.GetAssembly keeps this sort of thing from happening? Is there a way to debug the process that has a lock on this assembly?
Thanks for any help anyone can provide. :)