title: How can i resolve System.Object error when running app service in Azure?
body: <p>I have successfully deployed and can run my app service in Azure.
  But i get the error:</p>
  <pre><code> d:\home\site\wwwroot\Views\Shared\_Layout.cshtml(42): 
   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, 
  </code></pre>
  <p>I have looked at the error logs , but there is nothing really informative that can help.
  Where can i look to try and resolve this ?</p>
  <pre><code>   &lt;Reference Include=&quot;System.Runtime, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b02f8f7f22d50a8a, processorArchitecture=MSIL&quot;&gt;
    &lt;HintPath&gt;..\packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll&lt;/HintPath&gt;
    &lt;Private&gt;True&lt;/Private&gt;
    &lt;Private&gt;True&lt;/Private&gt;
  &lt;/Reference&gt;
  </code></pre>
  <p>here is what is in packages</p>
  <pre><code>&lt;package id=&quot;System.Runtime&quot; version=&quot;4.3.0&quot; targetFramework=&quot;net472&quot; /&gt;
  </code></pre>