Eclipse有这个功能,在一个项目中加入另一个项目文件夹的引用,源码包含过来,这样不必copy一份代码,只需要维护一份源代码。一直想在VS中找到这个功能,目前项目需要,终于google到了。

http://stackoverflow.com/questions/3610845/add-as-link-for-folders-in-visual-studio-projects

In VS2012 and later, you can drag a folder to another project with alt key pressed. It's just the same as adding each file as link manually but faster.
upd: Consider using Shared Projects if you are using VS2013 update 2 (with Shared Project Reference Manager) or VS2015.

一句话: 按住Alt键鼠标拖动项目文件或文件夹到另一个项目,则自动建立起链接。

 

相关文章:

  • 2021-06-27
  • 2021-08-01
  • 2022-12-23
  • 2021-10-11
  • 2021-09-12
  • 2022-12-23
  • 2021-05-01
  • 2022-01-06
猜你喜欢
  • 2021-12-24
  • 2021-12-03
  • 2021-08-11
  • 2021-10-19
  • 2021-05-12
  • 2021-11-18
  • 2021-05-16
相关资源
相似解决方案