Closed andreasohlund closed 9 years ago
cc @SimonCropp @nulltoken
@andreasohlund :heart: for having taken a look at this.
causes Mono.Cecil to blow with mentioned ex.
Most certainly due to trying to load one of the native binaries as a managed one.
A try/catch (BadImageFormatException e)
should work around this. FWIW, this is the way it's been solved by the scriptcs project
Unless someone beats me to it, I'll try to send a PR tomorrow. Cool with you?
That would be awesome. One way to integration test this would be to add a similar test to https://github.com/ParticularLabs/APIComparer/blob/master/APIComparer.Backend.Tests/APIUpgradeToHtmlFormatterTest.cs#L13
On Fri, Sep 4, 2015 at 8:45 PM, nulltoken notifications@github.com wrote:
Unless someone beats me to it, I'll try to send a PR tomorrow. Cool with you?
— Reply to this email directly or view it on GitHub https://github.com/ParticularLabs/APIComparer/issues/47#issuecomment-137818148 .
We have some code in NServiceBus to exclude non .net asm that could be used as inspiration :)
To repro just execute
http://localhost:2321/compare/LibGit2Sharp/0.20.1...0.20.2
causes Mono.Cecil to blow with mentioned ex.