gluck / il-repack

Open-source alternative to ILMerge
Apache License 2.0
1.16k stars 214 forks source link

Embedded PDB not handled properly #325

Closed WenningQiu closed 8 months ago

WenningQiu commented 1 year ago

My application project and library projects uses "embedded" BuildType thus the PDB is embedded in the DLL and EXE files. When I try to debug il-repack'ed applications, the symbols cannot be loaded.

image

However if I change DebugType to "full", the debugger would work fine.

That leads me to conclude that il-repack might not be handling embedded PDB properly.

KirillOsenkov commented 8 months ago

This should be fixed in the latest version (2.0.23 and newer: https://www.nuget.org/packages/ILRepack/2.0.23)