How do I install and setup RESTSharp without NuGet?

﹥>﹥吖頭↗ 提交于 2020-01-02 01:22:06

问题


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?


回答1:


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.




回答2:


Get the dll from https://github.com/restsharp/RestSharp/downloads

and add it as reference to your project




回答3:


You could get the code from github and compile it



来源:https://stackoverflow.com/questions/10630685/how-do-i-install-and-setup-restsharp-without-nuget

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!