c# - 命名空间 'Bot' 中不存在类型或命名空间名称 'Microsoft' ?

标签 c# azure bots csx

其他人是否和我一样在 Bot 框架方面遇到了同样多的问题?

我只是尝试按照 Debug an Azure Bot Service bot 中的步骤操作这样我就可以在本地编辑和运行我的代码,然后将其推送到云端。经过长时间的斗争,我运行“debughost.cmd”文件,并被告知它无法解析“Bot”!

确切的错误是

D:\projects\PROJECT\messages\EchoDialog.csx(3,17): error CS0234: The type or namespace name 'Bot' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

D:\projects\HelpfulCoa\messages\EchoDialog.csx(4,17): error CS0234: The type or namespace name 'Bot' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

run.csx(9,17): error CS0234: The type or namespace name 'Bot' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

run.csx(10,17): error CS0234: The type or namespace name 'Bot' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

代码只是 Echo 示例,我正在尽力遵循文档中的无数脆弱步骤。

还有人遇到这个问题吗?有解决办法吗?

最佳答案

关于c# - 命名空间 'Bot' 中不存在类型或命名空间名称 'Microsoft' ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45270710/

相关文章:

seo - 由于脚本被阻止而部分获取和呈现(Twitter 转换跟踪)

javascript - 有没有办法防止来自机器人的点击输入?

c# - 在XAML中创建 "Dictionary<string, Dictionary<string, string>>"

c# - 控制台 C# 乌尔都语书写不可读

javascript - 流式传输文档数据后链接无法打开

c# - ASP.NET 视频 webm 未加载

azure - 配置 Google 域以指向 Azure 网站

c# - CloudBlobContainer.ListBlobs() - 使用 ToList() 降低交易成本

java - 使用 HttpURLConnection 的多个 Http 请求和响应

c# - 一种存储信息的方法