如何安装和设置RESTSharp没有的NuGet? [英] How do I install and setup RESTSharp without NuGet?

查看:1946
本文介绍了如何安装和设置RESTSharp没有的NuGet?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用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?

解决方案

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.

这篇关于如何安装和设置RESTSharp没有的NuGet?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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