title: The name 'HttpContext' does not exist in the current context MySolution.DNX 4.5.1 error
body: <p>I'm using Visual Studio 2015 and have the below code in my MVC project:</p>
  
  <pre><code>using Microsoft.AspNet.Mvc;
  using Microsoft.Owin.Security;
  using System.Web;
  
  // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
  
  namespace Site.Controllers
  {
      public class AccountController : Controller
      {
          private IAuthenticationManager AuthenticationManager
          {
              get
              {
                  return HttpContext.GetOwinContext().Authentication;
              }
          }
  
          // GET: /&lt;controller&gt;/
          public IActionResult Login()
          {
              return View();
          }
      }
  }
  </code></pre>
  
  <p>I keep getting an error stating:</p>
  
  <blockquote>
    <p>The name 'HttpContext' does not exist in the current context  MySolution.DNX 4.5.1</p>
  </blockquote>
  
  <p>I've added the following Nuget packages:
  <br>
  Microsoft.AspNet.Identity.Owin<br>
  Microsoft.Owin.Host.SystemWeb<br>
  Microsoft.Owin.Security</p>
  
  <p>Is there anyway around this?</p>