namespace system has no member Drawing in c++

a 夏天 提交于 2020-06-13 05:58:29

问题


when I am trying to use System::Drawing it giving error "namespace system has no member Drawing".

Code: using namespace System::Drawing;


回答1:


I think you didn't add the System::Drawing reference

Goto Project -> References -> Common Properties -> Framework and References

Click Add New References... button

Under Assemblies -> Frameworks check System.Drawing and click ok.

Update - 2017.8.22

You can click Project -> Add Reference... in Visual Studio 2015.



来源:https://stackoverflow.com/questions/34527537/namespace-system-has-no-member-drawing-in-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!