Dynamic loaded Assembly attaching PDB file
-
I've written a dynamic assembly loading mechanism using Memorystreams, that enables me to "hot" unload an assembly, and load a new version without needing to shutdown my executable. I use Debug versions of my assemblies so that I can get StackTraces out of Exceptions if they occur, which works fine when I use a filebased load of the assembly. Is there some way that I can tell .NET that my PDB files are in a Disk location, and the Assembly has been loaded from a memory stream? BTW: This is using .NET Framework 1.1
-
I've written a dynamic assembly loading mechanism using Memorystreams, that enables me to "hot" unload an assembly, and load a new version without needing to shutdown my executable. I use Debug versions of my assemblies so that I can get StackTraces out of Exceptions if they occur, which works fine when I use a filebased load of the assembly. Is there some way that I can tell .NET that my PDB files are in a Disk location, and the Assembly has been loaded from a memory stream? BTW: This is using .NET Framework 1.1
Paul, Did you ever figure out how to do this? I am having the exact same issue. Thanks, Dave
Dave Kolb http://dotnetcodeslingers.com
-
Paul, Did you ever figure out how to do this? I am having the exact same issue. Thanks, Dave
Dave Kolb http://dotnetcodeslingers.com
OK I figured it out - just use the other version of Load(byte[], byte[]) where the second byte array is the symbol stream!
Dave Kolb http://dotnetcodeslingers.com