I have a SQL Server database project that can deploy the schema to a database, it creates a .dacpac
and applies it to a database.
I would like to use the SQL file generated in an automated test class that will create all the tables and objects to an empty database.
I can't use the generated SQL file because it contains unrecognized commands like
:setvar DatabaseName "MyDB"
:setvar DefaultFilePrefix "MyDB"
How can I generate an executable SQL script from a SQL Server database project deployment?