您可以使用DirectLine在Unity中连接到Botframework机器人吗?

发布于 2025-02-10 21:52:52 字数 257 浏览 1 评论 0原文

我已经在script中创建了一个引用到univeres.microsoft.bot.connector.directline在Visual Studio 2019中,一切看起来都不错,但是在保存并返回Unity之后,我会得到以下错误:

错误CS0246:类型或命名空间名称'无法找到通用'(您是否缺少使用指令或汇编引用?)

我尝试通过创建一个汇编定义参考资产来添加对“通用”的参考,但在要添加的引用列表中没有看到通用。

我想知道我要做的事情是否可以团结起来。

I've created a reference in script to Universal.Microsoft.Bot.Connector.DirectLine in Visual Studio 2019 and everything looks fine but after I save and return to Unity, I get the following error:

error CS0246: The type or namespace name 'Universal' could not be found (are you missing a using directive or an assembly reference?)

I tried adding a reference to 'Universal' by Creating an Assembly Definition Reference asset, but did not see Universal on the list of references to add.

I'm wondering if what I'm trying to do is even possible in Unity.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

永言不败 2025-02-17 21:52:53

您可以在nuget上找到包裹,然后抓住DLL(以及它依赖的任何DLL),然后将它们放入资产/插件

https://www.nuget.org/packages/microsoft.bot.connector/

如果它具有不同的文件夹/版本,请选择标准版本

You can find the package on Nuget, and grab the DLLs (and any DLLs it depends on) and put them into Assets/Plugins

https://www.nuget.org/packages/Microsoft.Bot.Connector/

if it has different folders/versions pick the Standard version

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文