I faced this issue recently where I created a C++ metro style app. Some of the functionality I wrote in a C# project compiled to a WinMD file and referenced it in the C++ app.
I’ll keep this short. Basically to reference any project whether C# or C++ or even VB, the Output type must be WinMD File.