Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
9 views
in Technique[技术] by (71.8m points)

c# - how to add System.Windows.Forms in visual studio 2010

i used visual studio 2010 and i need to add System.Windows.Forms in my project but when i am trying to add this then it shows error i.e.

enter image description here

please give me solution for this

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Problem: You are trying to add the System_Windows_Forms from COM tab of Reference Manager window.

Problem here:

enter image description here Solution : You need to Add System.Windows.Forms from Assemblies -> Framework Tab of Reference Manager window.

Select as below: enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...