Home

Shadow assembly references and pdb files.

I have the 'Do not shadow assembly references' set to false (which is the default) and dlls are copied to a shadow folder and loaded from there. Is it possible to also copy the corresponding pdb files to this same directory?

With this setting, any exceptions that are thrown do not continue line numbers in the stack trace which can be helpful then developing/testing dlls. If I change the 'Do not shadow assembly references' set to true, then the pdb files are then available and line numbers are shown, but this setting can cause problems with Visual Studio as the dll is locked.

Comments

Sign In or Register to comment.