无法加载文件或程序集 Microsoft.SqlServer.TransactSql

Could not load file or assembly Microsoft.SqlServer.TransactSql

数据库项目构建失败。错误详情:

Error: MSB4018: The "SqlBuildTask" task failed unexpectedly. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SqlServer.TransactSql, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.SqlServer.TransactSql, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'

我也在 Whosebug link 上查看了这个答案。也下载 SQL Server Data Tools 12.0.41012.0,但还是报这个错。需要帮助来构建数据库,以便我可以在 Azure 上发布我的数据库。

此致。

我也遇到过这种情况,现在已经解决了。我从 link 更新 ssdt 我从 Visual studio 通知中心获得并以管理员身份重新启动 VS 然后它工作正常。 -贾纳克

取消选中 "Enable extended..."。它将在下一版本的 VS 中删除。 (点击旁边的link'More Information'。)