System.Drawing in Windows or ASP.NET services

后端 未结 5 1058
遥遥无期
遥遥无期 2020-11-28 10:05

According to MSDN, it is not a particularly good idea to use classes within the System.Drawing namespace in a Windows Service or ASP.NET Service. Now I am d

5条回答
  •  情歌与酒
    2020-11-28 10:30

    You might be able to copy the System.Drawing.dll to the bin of your application and then use it that way. That might guarantee its availability.

    Just right click on the reference in your application and change the option for Copy Local to true.

    I may be misunderstanding the question though...

提交回复
热议问题