您可以使用DirectLine在Unity中连接到Botframework机器人吗?
我已经在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在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