在没有程序包管理器控制台的情况下安装C#库 [英] Install C# library without the Package Manager Console

查看:138
本文介绍了在没有程序包管理器控制台的情况下安装C#库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了使用程序包管理器控制台"之外,是否有任何其他安装C#库的方法?我想使用 Facebook C#SDK ,但是我将Visual Studio Express用于WP,但是我没有有PMC.我发现关于nuget的指南,但是我将不得不以其他方式做到这一点.

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.

有什么想法吗?

推荐答案

在README.md文件中提到了如何下载Facebook C#SDK .dll文件而不使用

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

Facebook C#SDK的二进制文件仅通过nuget分发.对于使用不支持NuGet程序包管理器的Visual Studio较旧版本的用户,请下载NuGet.exe的命令行版本( http://nuget.codeplex.com/releases/view/58939 ),然后运行以下命令.

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

更新: 您可以通过导航到 http://nuget.org直接从浏览器下载版本. /api/v2/package/Facebook/6.4.0 将.nupkg重命名为.zip并使用您喜欢的zip程序将其提取.

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.

这篇关于在没有程序包管理器控制台的情况下安装C#库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆