title: Assembly.GetCallingAssembly isn't supported on WinRT, but is for portable class libraries?
body: <p>I'm needing to get some meta-data about the assembly which calls my component. As such, using <code>Assembly.GetCallingAssembly()</code> seems to be a natural fit. However, I've found it works everywhere except for in Windows Store. Where it's supported:</p>
  
  <ul>
  <li><a href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/system.reflection.assembly.getcallingassembly%28v=vs.105%29.aspx">Phone 7.0+</a></li>
  <li>.Net 1.0+</li>
  <li><a href="http://msdn.microsoft.com/en-us/library/system.reflection.assembly.getcallingassembly.aspx">Portable Class Libraries</a></li>
  </ul>
  
  <p>However, where it's not supported is directly within a Windows Store application. I can make a portable class library and then call it from there inside of a Windows Store application, but I can't just put it directly in the Windows Store app/class library. </p>
  
  <p>Is there a workaround for this or some other way to get the type of metadata provided by <code>Assembly</code>? </p>