vb.net项目中的包装程序组装错误

编程入门 行业动态 更新时间:2024-10-25 21:28:03
本文介绍了vb项目中的包装程序组装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在项目中添加了一个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项目中的包装程序组装错误

本文发布于:2023-11-13 12:03:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584310.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   程序   项目   vb   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!