查看linux生成的验证码,asp.net core 使用ZKWeb.System.Drawing 生成验证码 linux 报错

我用的是 ZKWeb.System.Drawing去画验证码 在windows 上 没有问题 。 但是 在linux 上报错 。

fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]

An unhandled exception has occurred: The type initializer for 'System.DrawingCore.GDIPlus' threw an exception.

System.TypeInitializationException: The type initializer for 'System.DrawingCore.GDIPlus' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'gdiplus' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libgdiplus: cannot open shared object file: No such file or directory

我Linux 上已经安装了 gdiplus.dll 请问 是什么原因

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值