尝试处理 OLAP 多维数据集时 Visual Studio 中缺少方法

Missing method in Visual Studio when trying to process OLAP cube

我已经安装了 SSMS v 17.9.1Visual Studio 2017 v 17.9.1。到目前为止,我已经创建了许多 olap 多维数据集,但今天出现了一个新问题。尝试处理新创建的多维数据集,出现以下错误

Method not found: 'Microsoft.AnalysisServices.Server Microsoft.SqlServer.Management.SqlMgmt.CDataContainer.get_OlapServer()

检查以确保您正在部署到正确版本的 Analysis Services。这是您可以调整的项目级别设置。此外,请确保您的用户(执行部署的用户)已添加为实例的管理员。

H/T: https://www.reddit.com/r/SQLServer/comments/anwfep/getting_error_when_trying_to_deploy_ssas_project/

我已通过卸载 SQL Server Data Tools、安装以前的 (15.8.2) 版本并禁用 SSDT 自动更新解决了问题。

Link 对于以前的 SSDT 版本: https://docs.microsoft.com/en-us/sql/ssdt/previous-releases-of-sql-server-data-tools-ssdt-and-ssdt-bi?view=sql-server-2017

Visual Studio 的 Analysis Services Projects 扩展 v2.5 中存在错误。 this page 上有一条注释,其中 link 到 v2.2 下载建议人们降级到此版本,直到 Microsoft 可以修复 2.5 版本。