首页 新闻 会员 周边 捐助

ASP.NET5-DNX:Unable to load DLL 'System.Security.Cryptography.Native'

0
悬赏园豆:20 [待解决问题]

在CentOS上,安装了dnx-coreclr-linux-x64.1.0.0-beta8-15616,运行dnu restore时出现下面的错误:

System.TypeInitializationException: The type initializer for 'System.Net.Http.CurlHandler' threw an exception. 
---> System.TypeInitializationException: The type initializer for 'libcurl' threw an exception. 
---> System.TypeInitializationException: The type initializer for 'HttpInitializer' threw an exception. 
---> System.TypeInitializationException: The type initializer for 'CryptoInitializer' threw an exception. 
---> System.DllNotFoundException: Unable to load DLL 'System.Security.Cryptography.Native': 
The specified module could not be found.
 (Exception from HRESULT: 0x8007007E)
   at Interop.CryptoInitializer.EnsureOpenSslInitialized()
dudu的主页 dudu | 高人七级 | 园豆:30587
提问于:2015-09-15 12:12
< >
分享
所有回答(1)
0

追问:DNX Core 5.0 如何引用.net4.5标准类库的?

KoalaWang | 园豆:138 (初学一级) | 2015-09-27 19:56

只能引用corefx

支持(0) 反对(0) 博客园团队 | 园豆:5396 (大侠五级) | 2015-09-27 21:57

@博客园团队: 自己写了一些扩展,如何用上去呢

支持(0) 反对(0) KoalaWang | 园豆:138 (初学一级) | 2015-10-03 18:08
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册