最近业务扩展需要把netcore程序部署到ubuntu 16.0.4上,因为代码里面用到了HttpClient 请求。

部署ubuntu后一直报错

netcore程序部署 ubuntu 16.0.4 报错 The type initializer for 'System.Net.Http.CurlHandler'的解决方案

参考地址:https://github.com/dotnet/corefx/issues/35838

当有人明确需要curlhttphandler时,解决方法是安装旧的libcurl3

apt install libcurl3

netcore程序部署 ubuntu 16.0.4 报错 The type initializer for 'System.Net.Http.CurlHandler'的解决方案

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2022-03-02
相关资源
相似解决方案