We are working towards to automate SQL project deployment. When I do schema compare using Visual studio I have an option "application scoped" where I select only to compare SP,Table,Views & functions.
Now we are moving towards CI/CD and wanted to check if there is any way to restrict sqlPackage.exe to compare only listed type of objects and deploy changes only to those objects.
/p:ExcludeObjectTypes
), so you can get it to filter to what you want by excluding everything you don't want. You can do more targeted/convenient stuff by using the programmatic model exposed through the DacFx API, but that requires writing code.