Question

I'm compiling a solution which runs fine on the PC but when trying to compile it for a different platform I get the following error:

"Unhandled Exception: System.ArgumentException: An item with the same key has already been added."

Anyone know what it could mean?

Was it helpful?

Solution

This is a .NET exception message. Hmm, you definitely tagged it as C++. I'd guess you found a bug in your IDE or whatever tool you use to build your project.

OTHER TIPS

Googling the error comes up with one mention of VB assemblies with classes that differ only in case (like, say, GetLine vs. Getline). This is perfectly legitimate in C++, but might not work on .NET or other frameworks.

I've found that copy-pasting error codes or large chunks of error messages into a Google search to be very usefu.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top