It worked fine for me when I opened the site. A few observations:
1. The file PlanetWrox.cs in your ZIP file did *not* contain the PhotoAlbum class
2. As soon as I opened the site in VS, the .tt templates were run and the PhotoAlbum class was created. This could indicate something is not working correctly in your environment. Try restarting VS / reopening the web site. Also, try right-clicking PlanetWrox.tt and choose Run Custom Tool.
3. Your connection strings don't point to Local DB with databases in App_Data but to another database server on your machine. That's fine, but it may be that you're seeing tables in the database in App_Data that don't exist in the one that is actually being used.
Cheers,
Imar
|