title: how to add assemblies in Mvc Project in Mac machine?
body: <p><strong>Application startup exception: System.IO.FileLoadException: Could not load file or assembly 'testapp, Culture=neutral, PublicKeyToken=null' or one of its dependencies. General Exception (Exception from HRESULT: 0x80131500</strong></p>
  
  <p><strong>File name: 'testapp, Culture=neutral, PublicKeyToken=null' ---> Microsoft.Dnx.Compilation.CSharp.RoslynCompilationException: /Users/brilliomac/Desktop/testapp/Controllers/HomeController.cs(26,48): DNXCore,Version=v5.0 error CS1061: 'HttpContent' does not contain a definition for 'ReadAsAsync' and no extension method 'ReadAsAsync' accepting a first argument of type 'HttpContent' could be found (are you missing a using directive or an assembly reference?)</strong></p>
  
  <p>I got solution from this <a href="https://stackoverflow.com/questions/14520762/system-net-http-httpcontent-does-not-contain-a-definition-for-readasasync-an">link</a> 
  I tried to add assembly to web.config still I am getting same error</p>
  
  <p>My web.config file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;configuration&gt;
    &lt;system.webServer&gt;
     &lt;handlers&gt;
       &lt;add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified"/&gt;
     &lt;/handlers&gt;
     &lt;httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" stdoutLogEnabled="false"/&gt;
    &lt;/system.webServer&gt;
    &lt;system.web&gt; 
     &lt;compilation debug="true" targetFramework="4.0"&gt;
       &lt;assemblies&gt;
           &lt;add assembly="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/&gt;
       &lt;/assemblies&gt;
     &lt;/compilation&gt;
    &lt;/system.web&gt; 
  &lt;/configuration&gt;
  </code></pre>
  
  <p>tried this also</p>
  
  <pre><code>&lt;system.webServer&gt;
     &lt;handlers&gt;
       &lt;add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified"/&gt;
     &lt;/handlers&gt;
     &lt;assemblies&gt;
           &lt;add assembly="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/&gt;
     &lt;/assemblies&gt;
     &lt;httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" stdoutLogEnabled="false"/&gt;
  &lt;/system.webServer&gt;
  </code></pre>