Search code examples
c#resharperdotpeek

dotpeek showing code from different version


I had the weirdest thing with the dotpeek product.

I've opened an old dll version from a local folder and saw in the dotpeek some code that was added to a newer version. after about a day of investigation the disassemble showed me the older code.

can someone explain to me how it can be done and how to avoid it in the future. the only explanation that I could think of is that the newer version was loaded to the GAC (global assembly cache).

anyone encountered this issue and knows how to solve it?


Solution

  • make sure that you delete the local source files.

    when the local source file doesn't exist the dotpeek will be forced to decompile it.