System.drawing namespace not found under console application

前端 未结 7 599
悲&欢浪女
悲&欢浪女 2020-12-02 15:08

I selected console application as my C# project. But the imports that seemed to work under windows form project doesnt seem to work here. It says that the drawing namespace

7条回答
  •  心在旅途
    2020-12-02 16:01

    Add reference .dll file to project. Right, Click on Project reference folder --> click on Add Reference -->.Net tab you will find System.Drawing --> click on ok this will add a reference to System.Drawing

提交回复
热议问题