I have created a c++ library then added this to the WinRt successfully, setting all the linker input directory, the header file directory in visual studio for WinRt, and and referencing this winrt .winmd file in the uwp, now accessing the runtime class in the WinRt is causing issue
here are all three projects
After wrapping my c++ library(.lib) in the winrt, and after referencing the winrt in the uwp still one thing was missing i need to copy the that C++ Dll in the executables of the the uwp which will be under the project folder \bin\x86\Debug\AppX