I have two projects that currently need to refer to each other. More
precisely:
Proj A:
Class 1 refers to Proj B Class 1
Proj B:
Class 1
Class 2 refers to Proj A Class 1
Visual studio, for good reason, doesn't like that.
Obviously I could split Proj B into two separate projects. There are
no crossrefs between the two classes in Proj B, but the classes do
really belong together.
I've read about application of Interfaces to break the full circle but
I don't see any elegant way of applying that in this case.
Or I can kludge it and remove Proj B from Proj A's solution, then
replace 'Project' references with hard refs to DLLs. That would seem
to compromise build integrity (and would have to be changed for
release build).
Any alternatives?