title: DotNet.Highcharts Package Issues
body: <p>I am following a tutorial <a href="https://csharptrenches.wordpress.com/2013/08/21/how-to-use-highcharts-js-with-asp-net-mvc-4/" rel="nofollow">how-to-use-highcharts-js-with-asp-net-mvc-4</a></p>
  
  <p>and when I build the application I receive the error </p>
  
  <p>The Type or namespace name 'DotNet' could not be found (are you missing a using directive or and assembly reference?)</p>
  
  <p>I have in my controller </p>
  
  <pre><code>using HighChart.Models;
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.Mvc;
  using DotNet.Highcharts;
  using DotNet.Highcharts.Helpers;
  using DotNet.Highcharts.Options;
  using DotNet.Highcharts.Enums;
  </code></pre>
  
  <p>In this the DotNet has a blue squiggly under it.
  and the reference "DotNet.Highcharts" in the my references folder. </p>
  
  <p>I am using VS 2012 Professional (if that matters) </p>
  
  <p>Do I need to add something in my webconfig that I am missing or do I need to set a reference path? I have used nuget packages before and not ran across this problem so not sure what I need to do.</p>
  
  <p>What I have done.</p>
  
  <ul>
  <li>Restarted VS </li>
  <li>Closed / Reopen project</li>
  <li>Start from scratch project (mvc 4 empty) and added in DotNet.Highcharts and Jquery packages from nuget and followed the tutorial I listed above. </li>
  </ul>
  
  <p>Model</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  
  namespace HighChart.Models
  {
      public class TransactionCount
      {
          public string MonthName { get; set; }
          public int Count { get; set; }
      }
  }
  </code></pre>
  
  <p>Controller</p>
  
  <pre><code>using HighChart.Models;
  using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.Mvc;
  using DotNet.Highcharts;
  using DotNet.Highcharts.Helpers;
  using DotNet.Highcharts.Options;
  using DotNet.Highcharts.Enums;
  
  namespace HighChart.Controllers
  {
      public class ChartSampleController : Controller
      {
          //
          // GET: /ChartSample/
  
          public ActionResult Index()
          {
              var transactionCounts = new List&lt;TransactionCount&gt; {
              new TransactionCount() { MonthName="January", Count=30},
              new TransactionCount() { MonthName="February", Count=40},
              new TransactionCount() { MonthName="March", Count=4},
              new TransactionCount() { MonthName="April", Count=35}
              };
  
              var xDataMonths = transactionCounts.Select(i =&gt; i.MonthName).ToArray();
              var yDataCounts = transactionCounts.Select(i =&gt; new object[] { i.Count }).ToArray();
  
  
              //instanciate an object o the highcharts type
              var chart = new Highcharts("chart")
                  //define the type of chart
              .InitChart(new Chart { DefaultSeriesType = ChartTypes.Line })
                  //overall title of the chart
              .SetTitle(new Title { Text = "Incoming Transactions per hour" })
                  //small lable below the main title
              .SetSubtitle(new Subtitle { Text = "Accounting" })
                  //load the X values
              .SetXAxis(new XAxis { Categories = xDataMonths })
                  //set the Y Title
              .SetYAxis(new YAxis { Title = new YAxisTitle { Text = "Number of Transactions" } })
              .SetTooltip(new Tooltip
              {
                  Enabled = true,
                  Formatter = @"function () { return '&lt;b&gt;' + this.series.name + '&lt;/b&gt;&lt;br/&gt;'+ this.x +': '+ this.y; }"
              })
              .SetPlotOptions(new PlotOptions
              {
                  Line = new PlotOptionsLine
                  {
                      DataLabels = new PlotOptionsLineDataLabels
                      {
                          Enabled = true
                      },
                      EnableMouseTracking = false
                  }
              })
                  //load the Y values
              .SetSeries(new[]
              {
                  new Series {Name = "Hour", Data = new Data(yDataCounts)},
                  //you can add more y data to create a second line
                  // new series { Name = "Other Name", Data = new Data(OtherData)}
              });
              return View(chart);
              //return View();
          }
      }
  }
  </code></pre>
  
  <p>View</p>
  
  <pre><code>@{
      Layout = null;
  }
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta name="viewport" content="width=device-width" /&gt;
      &lt;title&gt;Index&lt;/title&gt;
      &lt;script src="~/Scripts/jquery-2.1.3.min.js"&gt;&lt;/script&gt;
      &lt;script src="~/Scripts/Highcharts-4.0.1/js/highcharts.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div&gt;
          @model DotNet.Highcharts.Highcharts
          &lt;p&gt;My Chart&lt;/p&gt;
          @(Model)
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Any help will be greatly appreciated! Thanks in advance</p>