View Single Post
  #1 (permalink)  
Old December 7th, 2011, 05:44 AM
sarinm sarinm is offline
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default change path of pdb file in headers of dll file

Is there a way in nant/visual studio/Other tools to change path of pdb file in headers of dll file from absolute to relative?
i.e
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.p db"
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?
Reply With Quote