10

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?

M W
  • 1,269
  • 5
  • 21
  • 31

3 Answers3

9

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

and add it as reference to your project

bmkay
  • 462
  • 6
  • 9
7

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.

Jon Skeet
  • 1,421,763
  • 867
  • 9,128
  • 9,194
  • Cool will try this! I added reference to the dll from older version. Seems to work, but I will try your suggestion so I can use the newer one. Thanks! – M W May 18 '12 at 02:56
0

You could get the code from github and compile it

Sachin Nayak
  • 1,041
  • 9
  • 17