c# - Sharing code between 2 projects without a dll -


how can have code-sharing between 2 projects without making dll?

the issue is: have tool syncs users & groups ldap database.

now tool windows service, testing such difficult , time consuming.

which why made console application can test ldap syncing, , copy respective sourcecode-files on service project.

but... keeping common files in sync bit of problem. don't want make dll, because creates me problem 3rd project, windows installer (for service) have use executingassembly path...

is there way share code without making separate dll? automagic statical linking, ?

how adding file link.

in visual studio right click on console test app project -> select add existing file -> in file add dialog navigate files in actual windows service project -> select files want share -> , on add button select add link option.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -