vb.net 如何添加一个项目作为另一个项目的参考
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/37397568/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to add a project as a reference of another project
提问by José Gabriel Almendares
回答by Sage Pourpre
Do the following:
请执行下列操作:
- Open the Filemenu.
- Choose Add, then Existing project
- Add the project you want into your solution
- 打开文件菜单。
- 选择Add,然后选择Existing project
- 将您想要的项目添加到您的解决方案中
From the solution explorer, select the Referencesitem of the project you want to need to reference the "other project" into.
Click on Add reference
Choose the project item
Add your other project as reference to the main project.
从解决方案资源管理器中,选择需要将“其他项目”引用到的项目的引用项。
点击添加参考
选择项目项目
添加您的其他项目作为对主项目的引用。
Alternatively, you can compile the other project as DLL and add it (as dll) to your main project.
或者,您可以将另一个项目编译为 DLL 并将其(作为 dll)添加到您的主项目中。


