构建LUIS Web App Bot时出错:“错误CS0246:找不到类型或名称空间名称'RestSharp'”

时间:2018-07-23 09:32:33

标签: azure azure-web-sites luis

QnA Maker and LUIS Bot tutorial之后,我添加了指令

using RestSharp;
using System.Collections.Generic;
using Newtonsoft.Json;

到BasicLuisDialog.cs。

从控制台运行整个程序时,我得到

Dialogs\BasicLuisDialog.cs(9,7): error CS0246: The type or namespace name 'RestSharp' could not be found (are you missing a using directive or an assembly reference?) 

为什么缺少程序集引用,如何在控制台中添加它?

0 个答案:

没有答案