Add database project.

Add a SQL Server Data Tools project for the database schema, including an
import of the schema from the MDF file.
Fix SQLProj.
Update schema from live database.

Not really the right way round to do this, but still :smile:
Enable warnings as errors.
Update connection string to use database project.

The database project deploys to a specific LocalDB database, so bung the
generated connection string into the web.config file for debugging
purposes.
Add SSDT build system binaries.

Tweak the .targets and .sqlproj files to reference the correct
locations.
Merge pull request #18 from alastairs/database-project

Add an SSDT database project.

This is stage one of getting database deployments going. You need SQL Server Data Tools (SSDT) installed to open the database project. SSDT is included by default in Visual Studio 2012, and is supported by Visual Studio 2010 with SP1; the latest version (December 2012 update) is available at http://msdn.microsoft.com/en-us/data/hh297027.

The SSDT project automatically deploys to a LocalDB database, so you will probably need SQL Server 2012 with LocalDB installed too. If you're using this project, you no longer need the .mdf and .ldf files that we've been sharing on Dropbox.