Sharing code between 2 projects without a dll

前端 未结 7 1809
孤城傲影
孤城傲影 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:41

    If you want to share functionality, you should use a DLL or similar.

    Since what you want to share is the source, what you are essentially sharing is file sharing. So you can do that by making your projects reference external sources or you can have your source control do this for you.

    If you are using Visual SourceSafe, you can make a link between two folders. VSS will make sure that they are treated as the same file.

提交回复
热议问题