名称"JsonConvert"在当前上下文中不存在 [英] The name 'JsonConvert' does not exist in the current context

查看:527
本文介绍了名称"JsonConvert"在当前上下文中不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Azure网站门户上执行此操作.

I am doing this on Azure web portal. 

以下是我正在使用的代码

The following is the code I am using

#r "SendGrid"

推荐答案

你好,

您要做的就是添加using;

all you have to do is to add the using ;

#r "SendGrid"

#r "Newtonsoft.Json"

.....

// -->

using Newtonsoft.Json; // Newton'S'oft.Json;

// <--


希望有帮助;


hope it help;


这篇关于名称"JsonConvert"在当前上下文中不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆