美文网首页Linux杂谈
Linux部署.NET 项目报错Unable to load D

Linux部署.NET 项目报错Unable to load D

作者: Charles2018 | 来源:发表于2022-04-02 22:22 被阅读0次

详细错误

System.TypeInitializationException: The type initializer for 'Gdip' threw an exception.
       ---> System.DllNotFoundException: Unable to load DLL 'libgdiplus': The specified module could not be found.
         at System.Runtime.InteropServices.FunctionWrapper`1.get_Delegate()
         at System.Drawing.SafeNativeMethods.Gdip.GdiplusStartup(IntPtr& token, StartupInput& input, StartupOutput& output)
         at System.Drawing.SafeNativeMethods.Gdip..cctor()

解决方案

ubuntu:

apt install libgdiplus

center-os:

yum install libgdiplus-devel

相关文章

网友评论

    本文标题:Linux部署.NET 项目报错Unable to load D

    本文链接:https://www.haomeiwen.com/subject/dfyxsrtx.html