Hello, currently VS 2010 Database projects do not support SQL Azure directly. The script generated by Visual Studio contains a lot of features that are incompatible with SQL Azure. But you can first deploy the database project to a local SQL Server, and then use SSMS 2008 R2's "Generate scripts" feature to port the database to SQL Azure as described in
http://blogs.msdn.com/sateeshp/archive/2010/01/01/seven-benefits-for-using-the-sql-server-management-studio-ssms-for-managing-the-sql-azure-database.aspx. This approach works fine for me. That is: Develop against local SQL Server using Visual Studio, and then deploy to SQL Azure using SSMS.
Lante, shanaolanxing This posting is provided "AS IS" with no warranties, and confers no rights.