質問

Deploying SQL (SSDT) projects to SQL 2012 from TFS 2012 Visual Studio 2012 using the TFS build controller. All projects have successfully deployed and pushed Post Deploy scripts to the server. (this is a test server where we are testing the deployment of a migration from 2008 to 2012). I needed to recreate the job (which is in the post deployment script) so I asked the deployment manager to drop the job and re-run the deploy. The post deployment script did not run and was not included in the generated deployment sql on the TFS server.

役に立ちましたか?

解決

database Project not running Post Deployment scripts

See the linked question for the answer. I removed comments. When I did this the Build Action reverted to "None" I checked later and fixed this by setting to "Post-Deploy" and without the comments, it worked.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top