I don't know if this problem has been solved and published somewhere but I can't find help. Any idea?
I'm porting a .NET solution from MSVS2005 to MSVS2012. I have the LNK2022: metadata operation failed (801311E4) for a file in a project that built perfectly under
2005 and 2010. I don't know what to do. I cannot find any clue on the net. Someones suggested me to use idlasm but I don't know what to do exactly.
You may want to read this http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/553600da-3327-490a-ba9f-88fe0d402754
If you use make_public this may be the cause of your problem. The solution I used is to create a header file containing all my make_public's and always include this first in every file. I also found that code that compiled/linked OK in VS 10 using this broke
in VS 12 which seems to echo your issue
So rather than fix the real problem MS seem to have altered things slightly so that you can break in slightly different ways on the two compilers. Shame MS don't spend a bit less time on marketing and a bit more fixing well documented know bugs in their
Thursday, December 13, 2012 10:19 PM
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.