The database project is scoped at the database level and therefore does not support required server-level objects directly. In addition, some other schema object types are not directly supported in the project. However, these objects can easily be added to the pre and post deployment scripts. Therefore it is important at project creation to appropriately modify these scripts to include the required objects. There may be other SQL statements that you want to add before and after the deployment. These should be added here as well.