VS2017 15.4.2 - SSRS 项目升级后项目文件未绑定到源代码管理

VS2017 15.4.2 - project file is not bound to source control after SSRS project upgrades

今天我更新了Visual Studio 2017 到15.4.2,发现SQL Server Data Tools (SSDT) 15.4.0 preview 自带的项目不再可用了,常见的情况如下更新。我修复了 SSDT 安装,发现项目没有回来,然后我重新安装它,项目现在可以使用了。

现在,当我打开一个包含 19 个 Reporting Services 项目的现有解决方案时,系统提示我需要升级它们,自从在第一个版本上使用预览以来,我就没有收到过此提示。我继续升级所有项目,向项目添加新报告,并将更改提交到我在 Team Services 中的 TFVC 存储库。

现在,每当我打开这个解决方案时,我都会收到针对每个项目的提示:

The project file is not bound to source control, but the solution contains source control binding information for it. Do you want to open the project using source control binding information from the solution or open it as unbound and fix the solution file?

如果我使用解决方案绑定,那么在我关闭解决方案之前,此方法一直有效,然后系统再次提示我做同样的事情。如果我选择删除解决方案绑定并在解决方案保存并关闭后通过文件 > 源代码管理 > 高级 > 更改源代码管理再次绑定它们,我会得到相同的提示。

我在项目升级之前从我的存储库下载了一个特定版本,我只是收到升级它们的提示,这再次破坏了源代码控制。

目前我的解决方案无法使用,有没有办法手动修复我的 solution/project 文件,因为到目前为止我看到的建议修复不起作用。

我已经通过执行以下操作暂时解决了这个问题

  1. 卸载 Visual Studio 2017 15.4.2 和 SQL Server Data Tools (SSDT) 15.4.0 预览版
  2. 安装Visual Studio 2017 15.3.5
  3. 安装 SQL Server Data Tools (SSDT) 15.4.0 预览版
  4. 删除扩展和更新中的 Microsoft Reporting Services Projects 1.17
  5. 在扩展和更新中安装 Microsoft Reporting Services Projects 1.18

我发现在 none 商业智能项目可用后,将 Visual Studio 2017 更新到 15.4.2。 Microsoft Reporting Services Projects 1.18 在扩展和更新中列出,但我必须重新安装它才能打开项目。

按照这些步骤为我解决了这个问题:

  1. 将 Microsoft Visual Studio 2017 更新到 v15.5.2
  2. 将 Microsoft Reporting Services Projects 更新到 v1.20