Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when a target dll use 0Harmony.dll #79

Open
WingGao opened this issue Aug 17, 2021 · 0 comments
Open

Crash when a target dll use 0Harmony.dll #79

WingGao opened this issue Aug 17, 2021 · 0 comments
Labels

Comments

@WingGao
Copy link

WingGao commented Aug 17, 2021

Description

If the target dll require the 0Harmony.dll, it wil throw an error

'Object of type 'Mono.Cecil.MethodDefinition' cannot be converted to type 'Mono.Cecil.MethodDefinition

Because the 0Harmony.dll also include another version Mono.Common

https://github.com/pardeike/Harmony/blob/4c6eaed10c3fd5133b8ee5805e1919103ca812ba/Harmony/Harmony.csproj#L99

Example

@WingGao WingGao added the bug label Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant