Sharing code between 2 projects without a dll

前端 未结 7 1840
孤城傲影
孤城傲影 2020-12-29 23:18

How can I have code-sharing between two projects without making a dll?

The issue is: I have a tool that syncs users & groups from LDAP to a database.

Now

7条回答
  •  被撕碎了的回忆
    2020-12-29 23:46

    You can add a file to a project as a link. On the Add Existing Item dialogue the Add button has a drop down on its right. Use this to select "Add as Link":

    alt text

    Put the file as a solution item and add as a link to each project.

提交回复
热议问题