问题
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