How can I add normal .winmd RRS feed

  • Question

  • Hello guys 

    I have a quesion about  how to add .winmd  file in normal app project (C# window phone 8.1 app project ) .

    Currently I made a  runtime component libary, 

    I selected  like this ,   [new project ] [ c/c++] [windows runtime component ] 

    after build this project  , it showed few fildes   .winmd .dll .pri .. bhbh...

    So when I use this libary (.winmd) in normal window phone 8.1 c# project 

    how can I do ? 

    just add? to reference folder? 

    after add in reference folder , I tryied about create instance, 

    but It can see a error about file not found exception ..

    An exception of type 'System.IO.FileNotFoundException' occurred in NexPlayer_SampleApp_WP_RT.exe but was not handled in user code

    Additional information: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    shortly what can i do when i use winmd. file in normal window phone 8.1 app project ?

    best regards 


    Monday, January 26, 2015 12:04 PM

All replies

  • Hi Derrickboy,

    This page shows how to use windows runtime components. See more from https://msdn.microsoft.com/en-us/library/windows/apps/jj714080(v=vs.105).aspx#BKMK_CreatingandConsumingWindowsRuntimeComponents. There is also a code sample https://code.msdn.microsoft.com/windowsapps/Windows-Runtime-Component-fb644b34.

    If you still have questions, please post more information about your scenario.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Tuesday, January 27, 2015 5:35 AM
  • Thanks your reply

    There is a problem.

    The sample code provided by you.

    Is this for Windows Phone runtime?

    I 'd like to use .winmd library that was made c,c++ Runtime component in window phone 8.1 runtime app, 

    below the photo , I made a simple test project (testlibary) it is simple libraryproject and

    I tryied to add this file  reference fold in my window phone 8,1 c# project 

    but when i use this library , in window phone 8.1 project  it occurrd error like this 

    Tuesday, January 27, 2015 6:27 AM
  • Hi Wong,

    The sample code provided by you is used ProjectReference in csprojfile, 

    is there different things? 

    Tuesday, January 27, 2015 8:03 AM