【问题标题】:Bot Framework - Microsoft.Rest.ClientRuntime Metadata ErrorBot Framework - Microsoft.Rest.ClientRuntime 元数据错误
【发布时间】:2017-04-26 07:25:25
【问题描述】:

我创建了一个全新的空 ASP.NET Web 应用程序项目。我添加了Microsoft.Bot.Builder NuGet 包,它还添加了Microsoft.Rest.ClientRuntime

现在,每当我尝试使用 NuGet 安装其他软件包(在本例中为 CsvHelper)时,我都会收到以下错误:

从源“D:\Projects\Bot\packages”检索“Microsoft.Rest.ClientRuntime.2.3.2”的包元数据时出错。

这与我尝试将任何 Nuget 包添加到现有 Bot Framework 项目时遇到的错误相同。 Microsoft.Rest.ClientRuntime 包似乎存在问题。

有谁知道如何解决这个问题?

【问题讨论】:

    标签: c# bots botframework


    【解决方案1】:

    请先检查一下。 https://stackoverflow.com/a/37618663 我以前也有过类似的问题。从 package.config 中删除 [Microsoft.Rest.ClientRuntime],然后添加您的目标包并恢复 [Microsoft.Rest.ClientRuntime]。

    【讨论】:

      猜你喜欢
      • 2021-07-05
      • 1970-01-01
      • 2023-03-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多