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