问题
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