Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 VS 2008 中有一个很好的功能,我可以在两个项目之间共享一个文件
我如何在 Eclipse (Android) 中做同样的事情
对于 Java,您可以右键单击该项目,Properties然后转到Java Build Path. 在Source选项卡下,您可以单击Link Source...按钮,然后输入公共源目录的位置 - 这将允许您将所有“共享”文件放在一个位置并将它们链接到您想要的项目中。
Properties
Java Build Path
Source
Link Source...