Let's say you have 2 totally separate projects: Project 1 and Project 2. One is a Windows app, and one is a web app.
If both projects need classes A, B and C for their own internal use, what is the best way of promoting code reuse in the classes between the two projects (esp. as the code is updated over time)?
Note that these are identical, INTERNAL, helper classes that are necessary for both projects.
You could use the InternalsVisibleTo
assembly attribute for friend assemblies that allows an assembly to access the types and members that are marked internal
in another assembly.