Making SSDT just generate a SQL script (and not deploy a database)
Having recently upgraded to SSDT 2012 I seem to be missing the option to just generate a T-SQL script instead of deploying the database to a server somewhere. To be more accurate the predecessor to SSDT used to set the Deploy action to 'Generate script', but I cannot locate that option anywhere in the new version. Is it possible? To generate a script from an offline data project in SSDT rather than deploy to a target database, configure the project settings as shown below You may want to look at the SQLPackage command line. You can set the options there to use an action of "script" and specify