【问题标题】:Adding Signalr version 2.2.0 nuget package raises error "Sequence contains more than one element" in UAP projects添加 Signalr 版本 2.2.0 nuget 包会在 UAP 项目中引发错误“序列包含多个元素”
【发布时间】:2015-05-29 22:34:08
【问题描述】:

使用 Windows 10 Technical Preview 工具,尝试将最新版本的 SignalR 添加到通用应用平台项目会导致错误:

"Sequence contains more than one element".

【问题讨论】:

    标签: signalr signalr.client win-universal-app windows-10


    【解决方案1】:

    添加以前的版本(2.1.2)有一个警告:构建应用程序后,Visual Studio 将提示错误:

    Unable to activate Windows Store app
    The {application} process started, but the activation
    request failed with error 'The app didn't start'.
    

    这是因为包将 app.config 添加到项目中,并引用其依赖项。删除 app.config ,允许项目构建和运行。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-10
      相关资源
      最近更新 更多