首页 新闻 赞助 找找看

程序集的引用

0
悬赏园豆:10 [待解决问题]

我的程序集已经添加了可是还报以下错误:

Error    2    The type 'System.Windows.Forms.UserControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.    C:\Documents and Settings\Administrator\桌面\新建文件夹\Pump\Pump\Control1.Designer.cs    259

kureal的主页 kureal | 初学一级 | 园豆:60
提问于:2010-11-07 19:02
< >
分享
所有回答(4)
0

可能引用的程序集的版本不对吧。

飞云 | 园豆:200 (初学一级) | 2010-11-07 21:00
0

是不是程序集引用完就把原程序集删除了

爱化动力 | 园豆:225 (菜鸟二级) | 2010-11-08 01:20
0

“... that is not referenced.”,程序集没有引用,是不是你添加了,但是忘了写  Using ...

like%'远远'% | 园豆:635 (小虾三级) | 2010-11-08 14:19
0

右键你的项目重新添加System.Windows.Forms的引用试试...

三桂 | 园豆:3565 (老鸟四级) | 2010-11-08 16:57
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册