2016-11-04 200 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版本。