Script.PostDeployment.sql not executing in CI build VS 2010
Posted
by
Suirtimed
on Stack Overflow
See other posts from Stack Overflow
or by Suirtimed
Published on 2010-12-29T18:58:42Z
Indexed on
2011/01/06
14:53 UTC
Read the original article
Hit count: 244
I have a database project in VS 2010 (SQL 2008). The local Deploy Solution
action works and executes all of the SQL in the Script.PostDeployment.sql
file. When I check changes in, the Build Definition
for the continuous integration server executes. The database is deployed into the CI environment, but the PostDeployment script doesn't get executed.
I wasn't able to find anything specific to this particular scenario. I also expect I'll need to provide additional information unless this is a trivial problem that I missed somewhere.
Additional Information:
- The build is executing vsdbcmd.exe to deploy.
- The deployment manifest references the PostDeployment.sql file and it's present in the path with the rest of the files.
Here is a reference to a thread on social.msdn.microsoft.com regarding this problem.
© Stack Overflow or respective owner