Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

An item with the same key has already been added #658

Open
jaymarvels opened this issue Apr 25, 2018 · 1 comment
Open

An item with the same key has already been added #658

jaymarvels opened this issue Apr 25, 2018 · 1 comment

Comments

@jaymarvels
Copy link

Trying to add some protection to a dll and I am getting this error:

[ERROR] Unknown error occurred.
Exception: System.ArgumentException: An item with the same key has already been added.

The stack trace is pretty useless and provides no context how to resolve.

I have cloned the source code in attempt to run it in debug and capture the actual error but the current solution doesn't build.

I don't expect a response as this project seems pretty dead and hasn't been updated for a while, I would contribute but if the it doesn't build from a clone it doesn't bode well.

@jghaight
Copy link

The project builds if you pull yck1509's fork of dnlib here and place it inside your project directory. The code you're looking to fix, most likely, are lines 272 and 276 of VTable.cs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants