使用 Azure Dacpac 任务时发布管道错误

Release Pipeline error when using Azure Dacpac Task

我刚开始使用 Azure 发布管道,并且一直在尝试将数据库项目部署到新的 Azure SQL 数据库中遇到问题。目前管道给我以下错误...

TargetConnectionString 参数不能与任何其他 Target 数据库参数结合使用

我尝试过使用和不使用我的发布配置文件中包含的 TargetConnectionString 进行部署。有什么建议或其他尝试吗?我没主意了。

TargetConnectionString

Specifies a valid SQL Server/Azure connection string to the target database. If this parameter is specified it shall be used exclusively of all other target parameters. (short form /tcs)

所以请删除所有其他 TargetXXX 参数。

(如果你没有它们,你可以显示你有哪些内联参数和发布配置文件 - 当然没有数据)