Is there a way to change path of pdb file in headers of dll file from absolute to relative?
For example, if I do dumpbin /headers on my library file i get:
Time Type Size RVA Pointer -------- ------ -------- -------- -------- 4AE9A239 cv 4F 0001A9A8 197A8 Format: RSDS, {7B0C89D0-69E1-4A12-817C-424F209FAB10}, 1, D:\Projects\workspace\bin\Release\MyLibrary.pdb
Instead of D:\Projects\workspace\bin\release\MyLibrary.pdb
, I want to show only bin\release\MyLibrary.pdb
or just MyLibrary.pdb
.
I have seen solution for this problem in case of C/C++ assembly but I didn't got any solution for C# assembly although there are many microsoft C# assemblies having this relative path feature.
Does anyone know how to do this?