C++/CX component in javascript RRS feed

  • Question

  • I'm having an issue with using some C++/CX components in javascript. For some reason intellisense is not finding the name spaces/classes defined in my C++/CX components. Moreover I'm unable to view the contents of these components in the object browser.  However, if I continue coding along as if everything were fine, the components do work-- I just can't browse them nor see code completion suggestions from intellisense. This does't happen when I create a single component following the tutorial in the documentation (for creating a C++/CX component and using it in javascript). Any idea why I'm not able to get code completion and object browsing to work with this (otherwise fully functional) component. Note that this problem only occurs in a JavaScript metro app.  

    Tuesday, August 21, 2012 2:42 PM


All replies

  • Can you describe how your problematic JavaScript project  and C++/CX component differs from tutorial steps you found to work as desired?

    Is the C++/CX component project a part of the same solution or are you referencing a .winmd from the JavaScript app?

    What type of project template did you use to start your C++/CX component?

    David Lamb

    Tuesday, August 21, 2012 6:36 PM
  • Hello,

    Did you follow the rules in this document. Like casing and naming rules, C++ built-in types and asynchronous methods

    Best regards,

    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    • Proposed as answer by Jesse Jiang Monday, August 27, 2012 6:15 AM
    • Marked as answer by Jesse Jiang Thursday, August 30, 2012 6:04 AM
    Wednesday, August 22, 2012 6:18 AM