Share via

Consuming a windows runtime component

Gavin Williams 781 Reputation points
2021-07-07T04:49:37.073+00:00

I have ...

  • created a new solution
  • Added CoreWindow project
  • Added C++/WinRT component project.
  • Referenced the runtime component via: SlnExplorer / Project / References / Add Reference / Check the runtime component project checkbox.
  • Added a using statement for the runtime component namespace.

The project doesn't build with the error 'a namespace with this name does not exist.

What am I missing?

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.