Code Description Project File Line Suppression State
Error CS0012 The type ‘Bitmap’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘System.Drawing. Common, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’.
解决办法:
第一,打开Nuget管理;
第二,搜索drawing,安装到项目中即可解决;