Generating create scripts is not supported by the database reference.
SQL Server 2008 R2
The current database reference does not allow generating create scripts, so the generated files were not added to the project.
To correct this error
Change the default database reference.