Here[
^] is one proposed solution, or at least an explanation.
Here[
^] is another.
Please note that I located these results with a google search for the phrase "error LNK2022: metadata operation failed (8013118D)". Both results were on the first page. If they don't help, perhaps you can look into other results from that search.