Microsoft Builder SDK 3.8.1.0:位置对话框抛出异常方法未找到 "Void Microsoft.Bot.Builder.Dialogs.PromptDialog.Confirm"

Microsoft Builder SDK 3.8.1.0: Location dialog throws exception Method not found "Void Microsoft.Bot.Builder.Dialogs.PromptDialog.Confirm"

我正在使用 Microsoft Bot Framework 构建机器人,目前正在 Bot Framework 通道模拟器中进行测试。 我已将 Microsoft Bot builder SDK 更新到版本 3.8.1.0 以及 Microsoft.Bot.Builder.Location 版本 2.0.0。我已将位置对话框配置如下:

代码来自:https://github.com/Microsoft/BotBuilder-Location/tree/master/CSharp

但是,在调用对话框后抛出以下异常:

在更新之前没有抛出异常并且运行良好。我只是想知道是否还有其他人遇到同样的问题并且能够找到解决方案?谢谢 ;)

(代码来自:https://github.com/Microsoft/BotBuilder-Location/tree/master/CSharp

这是已知问题,团队将很快修复。据报道here and here。要解除封锁,您只需使用最新版本的 BotBuilder 重新编译库即可。

更新

5 月发布了带有修复程序的新 NuGet-24.Checkhttps://www.nuget.org/packages/Microsoft.Bot.Builder.Location?NormalizedVersion=2.1.0

新版本Microsoft.Bot.Builder.Locationhttps://www.nuget.org/packages/Microsoft.Bot.Builder.Location?NormalizedVersion=2.1.0