title: The type 'System.Object' is defined in an assembly that is not referenced - Windows Store Application
body: <p>I have a Windows Store Application that use a portable class library with a T4 template. When I run the transformation it fails with the following error:</p>
  
  <pre><code>Compiling transformation: The type 'System.Object' is defined in an assembly 
  that is not referenced. You must add a reference to assembly 'System.Runtime,
  Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
  </code></pre>
  
  <p>I tried to add reference to the System.Runtime library manually, but I got message "The component is already automatically referenced by the build system" </p>
  
  <p>The same library works in a Silverlight project as well as in a Windows Phone project.</p>
  
  <p>Does anybody have an idea where is the problem?</p>
  
  <p>I am new in developing Windows Store applications, so it might be some trivial error, but I am unable to find any solution.</p>