Sql server Azure SQL数据库发布问题

Sql server Azure SQL数据库发布问题,sql-server,visual-studio,azure,azure-sql-database,Sql Server,Visual Studio,Azure,Azure Sql Database,这是一个新的干净数据库,今天早上在Azure上创建。 Entity Framework进行了构建和种子创建,但当我使用发布设置中的更新数据库从VS2017发布我的项目时,出现以下错误: Web deployment task failed. (An error occurred during deployment plan generation. Deployment cannot continue. The Element or Annotation class SqlDatabaseOpti

这是一个新的干净数据库,今天早上在Azure上创建。 Entity Framework进行了构建和种子创建,但当我使用发布设置中的更新数据库从VS2017发布我的项目时,出现以下错误:

Web deployment task failed. (An error occurred during deployment plan generation. Deployment cannot continue.
The Element or Annotation class SqlDatabaseOptions does not contain the Property class CatalogCollation.
The Element or Annotation class SqlDatabaseOptions does not contain the Property class CatalogCollation.
Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXECUTING_METHOD.)
我遵循了链接,但错误有点普遍,因此我不再继续

有什么办法解决这个问题吗

编辑 为了清楚起见,我可以使用entity framework手动更新数据库,问题是当我在发布设置中选择更新数据库时

PM> enable-migrations -enableautomaticmigration
Checking if the context targets an existing database...
Code First Migrations enabled for project backend.
PM> update-database
Specify the '-Verbose' flag to view the SQL statements being applied to the target database.
No pending explicit migrations.
Running Seed method.
PM> 

我也犯了同样的错误,并在Azure门户中重新启动了我的web应用程序。有一个锁定问题。这就为我解决了问题。

我们边说话边努力