title: "Object reference not set to an object" when starting out with Cassette
body: <p>I'm trying to get started with <a href="http://getcassette.net/" rel="nofollow">Cassette</a> via NuGet. I'm having issues with it in my app so I rolled back and tried it in a new empty ASP.NET MVC 3 web application. </p>
  
  <p>However, the problem persists. Following the documentation page "Easy to use", I simply can't get it to work. Here's the exception along with a bit of the stack:</p>
  
  <pre><code>"Object reference not set to an instance of an object."
  
  [NullReferenceException: Object reference not set to an instance of an object.]
     Cassette.CassetteApplicationContainer.get_Application() +6
     Cassette.Views.Bundles.Reference(String assetPathOrBundlePathOrUrl, String pageLocation) +14
     ASP._Page_Views_Shared__Layout_cshtml.Execute() in d:\Dave\Documents\Visual Studio 2010\Projects\CasetteTest\Views\Shared\_Layout.cshtml:2
     System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +207
  </code></pre>
  
  <p>I simply followed the two steps in the documentation and this is what I get. What am I doing wrong?</p>
  
  <p>This is what my <code>_Layout.cshtml</code> file looks like:</p>
  
  <pre><code>@{
      Bundles.Reference("Scripts/jquery-1.5.1.min.js");
      Bundles.Reference("Scripts/modernizr-1.7.min.js");    
  }
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;title&gt;@ViewBag.Title&lt;/title&gt;
      &lt;link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" /&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      @RenderBody()
      @Bundles.RenderScripts();
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>