为了账号安全,请及时绑定邮箱和手机立即绑定

在 UWP 应用程序中使用 Microsoft.bot.Connector.DirectLine

在 UWP 应用程序中使用 Microsoft.bot.Connector.DirectLine

C#
守着星空守着你 2022-11-21 21:35:02
我目前正在尝试使用 UWP 应用程序与机器人(使用 Microsoft Bot Framework 制作)进行通信。我正进入(状态Severity Code Description  Project File Lin Suppression State Error Cannot resolve Assembly or Windows Metadata file 'Type universe cannot resolve assembly: Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken={my token}.'  {project name and path}当我在安装 Microsoft.bot.Connector.DirectLine nuget 后构建项目时。我在一个完全空白的 UWP 应用程序中尝试过这个。(默认空白页)。我尝试重新启动 Visual Studio 和项目,以及创建一个新项目。我正在使用 nuget 的 3.0.2 版,但我尝试了包括 3.0.0 在内的所有版本。Windows 和 Visual Studio 都是最新的。我也禁用了我的防病毒软件。我已经没有办法解决这个问题了。您有其他尝试的想法吗?谢谢你。
查看完整描述

1 回答

?
不负相思意

TA贡献1777条经验 获得超10个赞

您只需要安装此 nuget 包Microsoft.Rest.ClientRuntime的2.0.0.0或更高版本



查看完整回答
反对 回复 2022-11-21
  • 1 回答
  • 0 关注
  • 52 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信