Thanks in advance for reading this; this is with VS 2015 and SQL Server 2012.
Have a database that's cdc enabled and did any extract to get the dacpac. Created a database project from the dacpac and was able to Build the database project. Didn't make any changes other than deleting the login IDs under the 'Security' folder. When trying to publish to a target database we have these error msg:
[dbo].[SomeTable] is under change data capture control and cannot be modified
Looked around and tried a few things.
- a) unchecked VerifyDeployment
- b) created pre-deployment script to disable cdc: EXEC sp_cdc_disable_db
- c) created post-deployment script to enable cdc: EXEC sp_cdc_enable_db
Able to build and when try to publish would get the same error message.
At wits end and if you can please help would really, truly, deeply appreciated.
TIA!
