无法获取 Ripple 会话信息

Unable to get Ripple session info

我使用 Visual Studio 2015 RC 创建了一个 Ionic (Apache Cordova) 应用程序。我在自己的解决方案文件中创建了它,我可以 运行 使用 Ripple。

现在我想将文件移动到与我的服务器应用程序相同的文件夹中,因此我复制了项目文件夹并将项目添加到其他解决方案。 如果我现在尝试 运行 使用 Ripple 的项目,我会收到此错误:

Unable to get Ripple session info. Exception: Unable to connect to the remote server. Please close all instances of Chrome and try again.

我怎样才能再次获得 Ripple 运行ning?

不确定确切原因是什么,但值得尝试以下操作: 1.删​​除解决方案文件.sln。 2. 打开您的 cordova 项目文件。 3. 保存新创建的解决方案并添加服务器应用程序项目。

Visual studio 将帮助您在上述步骤中重建 .sln 文件。

这个问题的根源似乎在项目的 Solution Options File

  1. 关闭Visual Studio
  2. 删除 .suo 文件

.suo文件丢失时,Visual Studio关闭时创建,所以必须先关闭。

您将失去用户首选项,例如启动项目和当前页面,但我认为没有什么重要的。

我正在使用 VS2015,我在名为 .vs/MyProject/v14 的子文件夹中找到了该文件。 Visual Studio 的早期版本将文件放在与 .sln 文件相同的文件夹中。

注意这是一个 "hidden" 文件

参考: The evil .suo file

对于此解决方案不起作用的用户(如我):我在 Windows 7 上解决了以下错误:

Unable to get Ripple session info. Exception: Unable to connect to the remote server. Please close all instances of Chrome and try again

通过简单地运行 VS2015RC 作为管理员。

我最近遇到了这个错误 - 我发现调试配置默认为 "Any CPU",我通过将其切换为 "Android"(和 "Galaxy tablet")让 Ripple 再次工作。我不确定这个修复是否太简单了,但它对我有用 - 请注意,我没有 VS2015 运行 在管理员模式下(或删除 .suo)文件。