title: Visual Studio 2012 and Umbraco 7
body: <p>I am trying to install a clean Umbraco installation from NuGet in Visual Studio 2012, but when I am trying to run the code I get this error </p>
  
  <p><strong>Object reference not set to an instance of an object.</strong> </p>
  
  <pre><code>[NullReferenceException: Object reference not set to an instance of an object.]
     Umbraco.Web.UmbracoModule.BeginRequest(HttpContextBase httpContext) +16
     Umbraco.Web.UmbracoModule.&lt;Init&gt;b__8(Object sender, EventArgs e) +253
     System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
     System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +69
  </code></pre>
  
  <p>Steps on how I do</p>
  
  <ol>
  <li>New Project</li>
  <li>ASP.NET MVC 4 Web Application</li>
  <li>Empty [Solution template]</li>
  <li>Open Package Manager Console</li>
  <li>Install nuget; PM> Install-Package UmbracoCms</li>
  <li>Build Solution</li>
  <li>Getting my error</li>
  </ol>
  
  <p><em>Note: I am installing version 7.1.1 and using Visual Studio 2012 Professional</em></p>