Mukesh Bharsakle
Mukesh Bharsakle

Reputation: 443

namespace system has no member Drawing in c++

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

Code: using namespace System::Drawing;

Upvotes: 1

Views: 1594

Answers (1)

J3soon
J3soon

Reputation: 3153

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.

Upvotes: 3

Related Questions