For example, I have two projects sharing some functions, let's say them A and B. So I create another library project C, containing the public code. I put the common code in a class, but in the class, not all the methods are used in both projects. Some of them are only used in A, some only used in B and the rest are used in both of them.
Now, after compiling, I got A.exe, B.exe and C.dll. What I want is:
I don't want the dll, just want A.exe and B.exe
I don't want methods only used in A.exe appears in B.exe, and vice versa.
Merging the dll and exe can solve the problem 1, but how about 2?