System.drawing namespace not found under console application

前端 未结 7 559
悲&欢浪女
悲&欢浪女 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:11
    1. Right click on properties of Console Application.
    2. Check Target framework
    3. If it is .Net framework 4.0 Client Profile then change it to .Net Framework 4.0

    It works now

    0 讨论(0)
提交回复
热议问题