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

Feedback: An item with the same key has already been added. #686

Closed
matthid opened this issue Mar 7, 2015 · 4 comments
Closed

Feedback: An item with the same key has already been added. #686

matthid opened this issue Mar 7, 2015 · 4 comments

Comments

@matthid
Copy link
Member

matthid commented Mar 7, 2015

If you add the same item twice to a paket.references file you get:

Locked version resolutions written to \paket.lock
Paket failed with:
        An item with the same key has already been added.

I would suggest that paket should at least tell me which file is invalid :).
The error message itself could also be improved.
This could be a bug as well.

@forki
Copy link
Member

forki commented Mar 8, 2015

I agree the error message is unfortunate. Could you please come up with a minimal repro?

@matthid
Copy link
Member Author

matthid commented Mar 8, 2015

Yeah its really simple you can just use paket.references:

FSharp.Core
FSharp.Core

OR https://gist.github.com/matthid/f617043240b36e096483

@forki forki closed this as completed in 64bb651 Mar 9, 2015
@forki
Copy link
Member

forki commented Mar 9, 2015

image

@matthid
Copy link
Member Author

matthid commented Mar 9, 2015

Very cool, a real time-saver in the future 👍 , thanks!

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

No branches or pull requests

2 participants