vb.net项目中的包装程序组装错误 [英] Wrapper assembly error in vb.net project

查看:54
本文介绍了vb.net项目中的包装程序组装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在项目中添加了一个dll.包装器类中存在一些错误,因此我从项目中删除了该错误.现在的麻烦是,每当我构建解决方案时,就会出现以下错误:

"

Hi,
I added a dll to my project. There was some error in the wrapper class so I removed that from my project. Now the trouble is whenever I build my solution, following error appears:

"

Error   1   Failed to create the wrapper assembly for type library "AxUrdu_Unicode_TextBox". Compiler errors occurred when generating a Windows Forms wrapper for ActiveX control 'AxUrdu_Unicode_TextBox'. Source code saved in 'obj\Debug\AxInterop.Urdu_Unicode_TextBox.cs'.
c:\Users\Kh. Furqn\AppData\Local\Temp\mhveuttt.0.cs(30,38) : error CS0407: 'object AxUrdu_Unicode_TextBox.AxctlUrduText.About()' has the wrong return type
    D:\.Net Programs\School Manager\School Manager\School Manager\AxUrdu_Unicode_TextBox    School Manager


"

我已完成几次清洁解决方案",但错误不会消失.请帮忙.
谢谢


"

I have done Clean Solution several times but error does not go away. Please help.
Thanks

推荐答案

所以,您认为解决包装类中问题的最好方法是杀死患者?

好了,编译应用程序时不会生成包装器类.当您将控件添加到窗体中时,将添加该控件.因此,删除控件并阅读它,然后着眼于解决问题而不是创建一个新控件.
So, you thought the best way to fix the probllem in the wrapper class was to kill the patient??

Well, the wrapper class isn''t generated when you compile your app. It''s added when you add the control to your form. So, remove the control and readd it, then look at fixing the problem instead of creating a new one.


这篇关于vb.net项目中的包装程序组装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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