AsmSpy icon indicating copy to clipboard operation
AsmSpy copied to clipboard

Report assemblies which exist in an incorrect version

Open agross opened this issue 12 years ago • 7 comments

For an executable that references a custom strong-named assembly that is only available in an incorrect version, report the reference.

agross avatar Oct 31 '13 13:10 agross

Yes, that would be very nice. Would you care to take a look at the code and see if you can implement it. I'd welcome a pull request.

mikehadlow avatar Oct 31 '13 15:10 mikehadlow

This is as far as I got: agross/AsmSpy@24176b40eddc3db9378d79eff33eef4d306c26c0

What I found interesting that I got several FileNotFoundExceptions for the directory I tested against, although the assemblies in question are readable.

I'd appreciate a review.

agross avatar Nov 04 '13 14:11 agross

Hi Alexander, Very busy at the moment, but I'll try to get around to it if possible. Thanks Mike

On Mon, Nov 4, 2013 at 2:14 PM, Alexander Groß [email protected]:

This is as far as I got: agross/AsmSpy@24176b4https://github.com/agross/AsmSpy/commit/24176b40eddc3db9378d79eff33eef4d306c26c0

What I found interesting that I got several FileNotFoundExceptions for the directory I tested against, although the assemblies in question are readable.

I'd appreciate a review.

— Reply to this email directly or view it on GitHubhttps://github.com/mikehadlow/AsmSpy/issues/7#issuecomment-27687340 .

mikehadlow avatar Nov 04 '13 15:11 mikehadlow

@agross If you still remember what this is :) Does this also not depend on the assembly binding redirects? So it is still be valid to have a different version in the references than that is present in the bin/application directory

rahulpnath avatar Jul 17 '16 20:07 rahulpnath

AFAIR we didn't have binding redirects in the tested directory.

agross avatar Jul 17 '16 22:07 agross

I think I remember that the reason we were looking at AsmSpy at that time was that our application didn't run, despite all assemblies being correct. Or so we thought. I created the issue because of this as displaying version mismatches would have helped us identifying the culprit (wrong assembly version in bin directory) faster.

agross avatar Jul 17 '16 22:07 agross

Cool thanks @agross for confirming. But The fix for this will need to check assembly binding entries too and not just the assembly version that an exe refers too. @mikehadlow Any thoughts on this?

rahulpnath avatar Jul 21 '16 09:07 rahulpnath