Reputation: 8736
In Visual Studio 2010, it's possible to create "deployment packages" for your projects. For web applications, you can right-click the project, and choose "Build Deployment Package"
However for "Database Projects", there is no "Build Deployment Package" option. There's "Build", and "Deploy". When you check the properties of a Database project, under the "Deploy" tab, you can create a deployment script. This is supposed to generate a create-database.sql script that some DBA on another team can run and deploy your database (synonymous with an IT person importing a deployment package for a web application into IIS)
But when I build my solution, including the database project, I don't see the create-database.sql script anywhere? What's going on here? Why is the database deployment different than web application deployment?
What is the deployment process supposed to be?
Upvotes: 1
Views: 1572
Reputation: 2661
The deployment script isn't created when you build the solution. You need to select 'Deploy' from the build menu, then the script will be created according to your project settings.
Upvotes: 3