I am trying to use boost threads in a project having common language runtime support. I get the following linker error. error LNK2022: metadata operation failed (8013119F) : A TypeRef exists which should, but does not, have a corresponding TypeDef: (dummy): (0x01000073).
If i comment the line instantiating the boost thread, i do not get any linker error.
I tried looking online for fixing this error, at one such place it was suggested to use " #define BOOST_THREAD_USE_DLL" before including any boost libraries. I tried this but it still gives me the same error.
There is a related thread, ( http://stackoverflow.com/questions/810827/lnk2022-metadata-operation-failed-driving-me-insane ) but it isnt the same problem but somewhat similar. I tried the fix suggested there but still no luck.
Does anyone know how to fix this?