title: missing implementation for winmd
body: <p>Trying to add BouncyCastle c# dll to my WP8 native app.</p>
  
  <ul>
  <li>I create a Windows Runtime Component for Windows Phone 8</li>
  <li>I warp an existing C# dll in the component and create MyBouncyCastleComponent.winmd</li>
  <li>I open my WP8 native project and I add the winmd as a reference</li>
  </ul>
  
  <p>Result: 
  <em>At compile time</em> <strong>"warning: No implementation file was provided for the .winmd file"</strong></p>
  
  <p><em>At runtime</em> it crashes and when I stop the emulator I got <strong>"WinRT information: Class not registered"</strong> (its much longer than that, complaining about missing PDB file's in window files like Windows.winmd and System.Windows.RuntimeHost.ni.dll)  </p>
  
  <p>I opened the winmd with ILDASM.
  The implementations of decrypt and encrypt are there? What am I doing wrong?</p>
  
  <p><img src="https://i.stack.imgur.com/ATHtq.png" alt="MyBouncyCastleComponent.winmd opened with ildasm"></p>
  
  <p>I know its been asked <a href="https://stackoverflow.com/questions/13895517/no-implementation-file-was-provicded-for-the-winmd-file">No implementation file was provicded for the .winmd file</a> but there is no answer yet. I'm trying again... (couldn't figure out how to add it as a question there)</p>
  
  <p><strong>EDIT:</strong><br/><br/>
  Just a clarification. when I say: "<em>I warp an existing C# dll in the component and create MyBouncyCastleComponent.winmd</em>"<br/>
  what I did was take BouncyCastle <strong>source</strong> code put it in the runtime component with a wrapper class to expose the BouncyCastle methods I needed.    </p>