New source link and embedded sources support not fully working
See original GitHub issueIt appears that the source linking and embedded sources support added in #405 might have some problems.
Using the FodyCecil release that incorporates those changes (since beta7 isn’t out yet), I tested that my original repro was now working correctly. However, after trying it with a more complex assembly, I’m seeing problems with the resulting PDB.
I’ve updated my https://github.com/bording/SourceLinkProblem repo to demonstrate what I’m seeing. I’ve included both embedded source and source-linked versions of the test assembly, because the behavior seems to be slightly different.
The two new batch files, repro-rabbit-embedded.bat and repro-rabbit-sourcelinked.bat can be used to run the scenarios. I’ve also included output-embedded.txt and output-sourcelinked.txt to show the results of running the batch files.
For the embedded assembly, it starts out with 25 embedded files, but after being run through cecil, 8 of the documents have lost their embedded source.
For the source-linked version, the source link json file is missing, so all 25 of the documents no longer have any information.
CC: @SimonCropp
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)

Top Related StackOverflow Question
That’s fixed in #432. Thanks for the repro!
@jbevain Is there anything else I can do to help investigate this?