I know this question is out of date, but after 1 week of dealing with it, I feel obligated to publish the solution that I found, to someone with whom you can deal with such a mistake.
In my case, I had two projects: one unmanaged with std all over the place (list, vectors and queues, this is a project that should work on linux too, so I canβt use the .net collection) and pure standard C ++ code, in the second project, I create a managed project to wrap these classes that will be used in .net projects, I used Visual Studio 2010, trying to use framework 2.0, unfortunately, VS 2010 does not have good support for VC ++, and I tried everything, to get it to use 2.0, without success, every time I compile shaft, I got the same annoying message "Invincible blah".
I installed VS 2008, ported projects for 2008 and voila! everything worked in 10 minutes, I spend 1 week trying to solve this problem in VS 2010 and 2008, did the trick.
Hope this saves you many hours trying to solve something that seems insoluble on VS 2010.
Cross source share