I am very new to database programming in Visual Studio and SQL Server Express LocalDB. I went through a walk through of setting up a database project (using visual studio express 2013 for web and SQL Server Express LocalDB), adding tables and entering data
and everything worked fine:
http://msdn.microsoft.com/en-us/library/ms233763.aspx
Then I wanted to move on to trying to build a simple application to access this database so I looked into the following tutorial:
http://msdn.microsoft.com/en-us/library/ms171890.aspx
In a nutshell the tutorial says to add a new datasource and navigate to the database file, and it is looking for an .mdf file.
The database project that I created does not have an mdf file in it, only sql file, visual studio project, dbmdl file, options file, source browser database, etc.
How do I create this .mdf file, that step didn't seem to be explained in the first tutorial. I tried running the project, but didn't see any build options for creating the .mdf file. Again, sorry for the absolute beginner question.