title: Log4net reference assembly dependency issue
body: <p>I am a Java developer and have just started learning C# to develop a couple project. I am happy to see that many Java frameworks that I am used to work with (log4j, ant, hibernate etc.) have their .net versions (log4net, nant, nhibernate). </p>
  
  <p>I have just created a project and tried to put log4net assembly reference in it, but I am having the following warning (followed by 4 errors informing failure to recognize log4net namespace and classes):</p>
  
  <blockquote>
    <p>The referenced assembly "log4net"
    could not be resolved because it has a
    dependency on "System.Web,
    Version=4.0.0.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a" which
    is not in the currently targeted
    framework
    ".NETFramework,Version=v4.0,Profile=Client".
    Please remove references to assemblies
    not in the targeted framework or
    consider retargeting your project.</p>
  </blockquote>
  
  <p>I added reference to <code>System.Web.ApplicationServices</code> and <code>System.Web.Services</code> but it's not working. Any help on solving this dependency issue will be much appreciated.</p>
  
  <p>Thanks</p>