I'm attempting to follow the tutorial in Chapter 4 in VS 2013. I am not able to get the database seeded properly. This is a snippit from my global.asax file. VS is giving me two build errors. I added using System.Data.Entity; to the top of the file. That eliminated one error. However, I'm still getting "The type or namespace name 'MusicStoreDbInitilizer' could not be found..." If I comment out the Database.SetInitilizer... line the project builds but the database is not seeded. Any help is appreciated.
Also, if somebody could help me find the right Nuget package for this chapter's code that would be great. When using the Nuget package manager it doesn't seem to be available.
Code:
namespace ProMusicStore
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
Database.SetInitializer(new MusicStoreDbInitilizer());
AreaRegistration.RegisterAllAreas();
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
}
}