.NET Core and System.Drawing

前端 未结 5 1627
孤城傲影
孤城傲影 2020-12-01 07:53

I am trying to reference System.Drawing in a .net core console app targeting net46 but the assembly is not there. According to MS if you use dotnetcore System.Drawing is not

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 08:35

    I was able to replace System.Drawing with a multi-platform library called SkiaSharp. IF you're running on linux, you can also install this nuget so that you don't have to install the dependencies manually.

提交回复
热议问题