Compile issues based on different platforms
-
22-09-2019 - |
문제
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?
해결책
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.
다른 팁
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.