Environment:
Visual Studio 10, CLR/CLI Class Library
project, built with Platform Toolset v100
, targeting framework version
_WIN32_WINNT=0x0500
definition from the C/C++ PreprocessorApparently for some reason the above preprocessor definition did not agree with the linker, causing the linker errors. I assume this is some internal Microsoft bug (?), but not sure. Anyway, after removing this preprocessor definition all built and linked correctly.
Hope this information is useful.