当前位置:网站首页>The type initializer for ‘Gdip‘ threw an exception
The type initializer for ‘Gdip‘ threw an exception
2022-04-23 18:47:00 【jackletter】
环境:
- Debian
- .net 6
问题: The type initializer for ‘Gdip’ threw an exception
因为代码中使用 SixLabors.ImageSharp
去处理图片,在window上是正常的,在centos上就报错了:The type initializer for ‘Gdip’ threw an excepti。
解决办法:
执行如下命令:
sudo apt-get install libgdiplus
即可!
版权声明
本文为[jackletter]所创,转载请带上原文链接,感谢
https://blog.csdn.net/u010476739/article/details/124317037
边栏推荐
- Daily CISSP certification common mistakes (April 12, 2022)
- Machine learning practice - naive Bayes
- C language simulates entering and leaving the stack, first in first out, first in first out, shared memory
- 回路-通路
- PyGame tank battle
- CANopen STM32 transplantation
- 视频边框背景如何虚化,简单操作几步实现
- ctfshow-web362(SSTI)
- Treatment of incomplete display of listview height
- Ctfshow - web362 (ssti)
猜你喜欢
The first leg of the national tour of shengteng AI developer creation and enjoyment day was successfully held in Xi'an
[popular science] CRC verification (I) what is CRC verification?
ctfshow-web361(SSTI)
使用 bitnami/postgresql-repmgr 镜像快速设置 PostgreSQL HA
玻璃体中的硫酸软骨素
【科普】CRC校验(一)什么是CRC校验?
Ctfshow - web362 (ssti)
使用晨曦记账本,分析某个时间段每个账户收支结余
PyGame tank battle
Résolution: cnpm: impossible de charger le fichier... Cnpm. PS1 parce que l'exécution de scripts est désactivée sur ce système
随机推荐
Test questions of daily safety network (February 2024)
Practice of Druid SQL and security in meituan review
Can filter
Kettle paoding jieniu Chapter 17 text file output
ESP32 LVGL8. 1. Detailed migration tutorial of m5stack + lvgl + IDF (27)
数据库上机实验四(数据完整性与存储过程)
Summary of actual business optimization scheme - main directory - continuous update
Nacos集群搭建和mysql持久化配置
Fundamentals of machine learning theory -- some terms about machine learning
Daily network security certification test questions (April 13, 2022)
Eight bit binary multiplier VHDL
ESP32 LVGL8. 1 - arc (arc 19)
Tangle
Domestic GD chip can filter
教你用简单几个步骤快速重命名文件夹名
Go language GUI framework Fyne Chinese garbled or not displayed
Teach you to quickly rename folder names in a few simple steps
Daily network security certification test questions (April 12, 2022)
listener. log
Introduction to ROS learning notes (I)