Shadow assembly references and pdb files.
Options
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.
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
-
In the next build, I'll allow you to add references to other files that you want present in the output folder. So you'll be able to add a reference the .pdb file explicitly in addition to the .dll file.
LINQPad doesn't copy the .pdb by default to reduce disk I/O. -
Thanks.
-
This would be great if such an option would exist
-
This is now done in the latest beta: www.linqpad.net/beta.aspx
-
Thanks.