如何在Visual Studio 2010中添加System.Windows.Forms [英] how to add System.Windows.Forms in visual studio 2010

查看:164
本文介绍了如何在Visual Studio 2010中添加System.Windows.Forms的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了Visual Studio 2010,我需要在我的项目中添加System.Windows.Forms,但是当我尝试添加此项目时,它将显示错误,即

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.

请为此给我解决方案

推荐答案

问题:您正试图从 COM 选项卡添加 System_Windows_Forms Reference Manager 窗口.

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

问题在这里:

解决方案::您需要从 Assemblies->中添加 System.Windows.Forms . Reference Manager 窗口的Framework 标签.

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

选择如下:

这篇关于如何在Visual Studio 2010中添加System.Windows.Forms的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆