Excluding database objects from a DacPac database deployment?
Instead of using a DACPAC, you might find generating database scripts more flexible for your needs if you want to exclude specific entities. Here's a good walkthrough on how to do it: Methods to script SQL Server database objects