locked
Cannot reference WINMD: "neither .NET assembly not registered ActiveX component"

    Question

  • I developed a WinRT component with C++/CX. It works with C#, JavaScript, and VB. When trying to add it as reference to a C++ Store App project I get an error:

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    Could not add a reference to file <NamespaceName>.winmd' because it is neither a .NET assembly nor a registered ActiveX control.
    ---------------------------
    OK  
    ---------------------------

    I verified both the Store app and the component are built in x64 Debug, what else do I do to troubleshoot?

    Monday, June 30, 2014 6:43 PM

Answers

All replies