You use the option on the Build menu, to build the project.
That will output a .dacpac file. (You can see where that is located by looking at the text in the Output window at the bottom, as it shows the result of the Build).
You can then deploy a .dacpac to a database using a variety of methods, but one is to use SQL Server Management Studio (SSMS), connect to the server, then right-click on Databases in Object Explorer, and choose Deploy Data-tier Application. A wizard then walks you through the deployment.
Visual Studio 2019 database project
Darryl Hoar
181
Reputation points
I have a Sql Server database. I have created a Visual Studio 2019 database project for this database. In the database project, when I make changes to the Stored Procedures, how do I generate a new database with these new versions of the stored procedures. thanks.
SQL Server Other
14,494 questions
Accepted answer
-
Greg Low 1,980 Reputation points Microsoft Regional Director
2024-02-15T03:33:10.92+00:00