JSON.NET 如何参考? [英] JSON.NET How To Reference?

查看:29
本文介绍了JSON.NET 如何参考?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 Json.Net 包,现在我想知道如何将它导入到我的项目中?我首先尝试使用 Newtonsoft.Json;"但这不会出现.我尝试通过首先添加对我的项目的引用来查找它,但我也无法在列表中找到它?我似乎也找不到其他有此问题的人或任何快速 Google 搜索的指示.请告诉我这有多容易做到...

I just installed the Json.Net package and now I am wondering how I can import this to my project? I first tried "using Newtonsoft.Json;" but that's not coming up. I tried looking for it by adding a reference to my project first but I can't find it the list either? I also can't seem to find anyone else with this problem or any directions doing a few quick Google searches. Please tell me how easy this is to do...

推荐答案

右键单击您的项目并选择管理 nuget 包".将json放入搜索中,在列表中找到并点击安装"

right click on your project and select "manage nuget package". put json into the search, find it in the list and click "install"

这篇关于JSON.NET 如何参考?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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