如何安装和设置RESTSharp没有的NuGet?有的、RESTSharp、NuGet

由网友(点我者男神追-)分享简介:我在使用Visual Studio C#2010例preSS和正在学习。 RESTSharp应该是通过的NuGet安装,但的NuGet不能与实施例preSS的版本使用。我还可以手动安装和配置RESTSharp,怎么办?解决方案 本的NuGet Visual Studio的插件不能用防爆preSS使用,但你可以的从命令...

我在使用Visual Studio C#2010例preSS和正在学习。 RESTSharp应该是通过的NuGet安装,但的NuGet不能与实施例preSS的版本使用。我还可以手动安装和配置RESTSharp,怎么办?

解决方案

本的NuGet Visual Studio的插件不能用防爆preSS使用,但你可以的从命令行安装的NuGet包。你需要从的NuGet codePLEX网站下载一个命令行引导程序。

在安装之后,你可以只用

 的NuGet安装SomePackageName
 

和将取回包和它的依赖到本地磁盘。您需要手动添加,虽然该项目引用,AFAIK。

I am using Visual Studio C# 2010 Express and is learning. RESTSharp is supposed to be installed by NuGet but NuGet cannot be used with Express version. Can I still install and configure RESTSharp manually, and how?

解决方案 RestSharp爬虫辅助 轻松发起含cookie的http请求

The NuGet Visual Studio plugin can't be used with Express, but you can install NuGet packages from the command line. You'll need to download the command line bootstrapper from the NuGet CodePlex site.

After installing it, you can just use

nuget Install SomePackageName

and it will fetch the package and its dependencies to local disk. You'll need to add the project references manually though, AFAIK.

阅读全文

相关推荐

最新文章