title: log4net preventing web (.aspx, .ascx, .master) intellisense from working
body: <p>When I include log4net in an ASP.NET MVC project, intellisense stops working for master pages, user controls and pages. The first line of the file has a red underline, with the following message:</p>
  
  <blockquote>
    <p>ASP.NET runtime error: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))</p>
  </blockquote>
  
  <p>Any idea what the cause of this is? The project builds fine and I can debug and deploy it.</p>