c# - Multiple applications sharing code offline -


i developing 2 windows desktop applications, 1 gui , 1 without. (in visual studio 2013, c#) these applications using similar code , know if , how can share it.

i've looked @ project references feel client have specify search paths shared class library in order have applications find shared code when installed. applications run offline.

clarification; application & b share code. when installing both applications (offline), these need share code without user having bother linking shared-code-project. project or class library need somehow installed application.

easiest solution can think of duplicating code i'm trying avoid

there 2 ways accomplish want:

1) create third project put shared code. reference new project in both apps. sure, you'll ship assembly twice code won't have duplicated.

2) register shared assembly in gac. way, you'll ship assembly once , both apps use same assembly.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -