添加对Visual Basic项目的引用 [英] add reference to visual basic project

查看:90
本文介绍了添加对Visual Basic项目的引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我有3个项目的解决方案:
myproj1和myproj2是用Visual Basic编写的
当我添加
时,第三个myproj3是用C#编写的 解决方案资源管理器中对myproj1的引用(myproj3)
并进入myproj1的类并编写import语句
智能感知不显示myproj3.
发生什么事了!
在此先感谢

hello
i have a solution with 3 projects :
myproj1 and myproj2 are written in visual basic
and the third myproj3 is written in c# when i add
a reference (myproj3) to myproj1 from the solution explorer
and go to the classes of myproj1 and write the import statement
the intellisense does not show myproj3 .
so whats happening!
thanks in advance

推荐答案

从另一个项目中引用用different language编写的项目时,所引用的项目的类型和智能必须为rebuilt .在引用项目中显示该项目.因此,可以从build menu或在解决方案资源管理器中右键单击myproj3 来重建myproj3,选择rebuild 菜单选项,然后尝试在myproj1
When a project written in different language is referenced from another project, the referenced project has to be rebuilt for the types and the intellisense to show for that project in the referencing project. So, rebuild the myproj3, either from build menu or by right clicking on myproj3 in solution explorer, selecting the rebuild menu option, and then try for intellisense in the myproj1


这篇关于添加对Visual Basic项目的引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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