2016-11-04 51 views
1

我试图安装OpenSSL的NuGet包在2015年VSOpenSSL的NuGet包在VS不安装2015年

我得到的错误:

Attempting to gather dependencies information for package 'openssl.1.0.2.1' with respect to project 'BLL', targeting '.NETFramework,Version=v4.5' Package 'openssl' is not found in the following primary source(s): ' https://api.nuget.org/v3/index.json '. Please verify all your online package sources are available. ========== Finished ==========

我也尝试运行

Install-Package openssl

包管理器控制台中的

,但它不起作用。它将“openssl.1.0.2.1.nupkg”文件下载到我的软件包目录中,但没有其他文件。

有没有其他人遇到过这个问题?

回答

1

用于C++项目的OpenSSL包。我在安装1.0.2.1版本时遇到同样的问题。然后,我将OpenSSL包下载到本地,并使用NuGet包资源管理器将其打开,但在此包中找不到任何内容文件。

我已将此问题提交给OpenSSL包。请在此反馈中添加您的评论,并请耐心等待店主的回复。

https://github.com/openssl/openssl/issues/1865

但是当安装OpenSSL包1.0.2,它没有得到任何错误。所以我建议你在你的项目中安装1.0.2版本。