安装:(程序包管理控制器 PM>) Install-Package System.Drawing.Common -Version 6.0.0 问题解决后编译可运行: 参考: NuGet Gallery | System.Drawing.Common 6.0.0https://www.nuget.org/packages/System.Drawing.Common/