原文:ASP.Net Core "The type initializer for 'Gdip' threw an exception"

ASP.NET Core项目部署在Linux下可能会出现GDI错误 The type initializer for Gdip threw an exception 解决方案:创建 libdl 的软链接 或 Unable to load DLL libgdiplus 解决方案:安装 libgdiplus 包 ...

2018-12-13 17:20 0 5686 推荐指数:

查看详情

the type initializer for '' threw an exception

the type initializer for '' threw an exception 问题:程序启动时初始化主窗口类时,弹出该错误。 调查:查看类的构造函数是否会有异常抛出。 解决:去掉类的构造函数中可能出现的异常 ...

Sat Aug 10 19:20:00 CST 2013 0 21660
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM