Search code examples
c#facebook-c#-sdkvisual-studio-expresspackage-managers

Install C# library without the Package Manager Console


Is there any way to install C# libraries other than using the Package Manager Console? I want to use the Facebook C# SDK but I'm using Visual Studio Express for WP and I don't have the PMC. I found this guide on nuget, but I'm going to have to do it some other way.

Any ideas?


Solution

  • It is mentioned in README.md file on how to download Facebook C# SDK .dll files without using NuGet Package Manager Console at https://github.com/facebook-csharp-sdk/facebook-csharp-sdk

    Binaries for Facebook C# SDK are only distributed via nuget. For those using older versions of Visual Studio that does not support NuGet Package Manager, please download the command line version of NuGet.exe (http://nuget.codeplex.com/releases/view/58939) and run the following command.

    nuget install Facebook
    

    If you would like to get an older version of the the binaries please use the following command.

    nuget install Facebook -v 5.4.1
    

    Update: Yo can download version directly from the browser by navigating to http://nuget.org/api/v2/package/Facebook/6.4.0 rename the .nupkg to .zip and extract it using your favorite zip program.