Before you set out to do something just because it is possible... I guess
the "test measurements" class uses the configuration class. How does the
config class use the test measurements? If both of these are infrastructure
classes, it makes sense keeping them in the same dll.
If you still want to continue keeping them in separate dlls please address
my other questions.
How does each class know about the other? Does one create the other? Passed
as an argument? Held at a class level field? Used in a local variable? Is
there a factory somewhere that creates both of them?
You really have to provide more on the scenario which is why I am asking for
repro code. That will give us a concrete example to talk about.
The general principle is that you create an interface and place it in its
own dll. The interface has all the public methods of the class. Wherever you
use the class, instead of using it directly, you use it via the interface
(this includes any signatures it appears in). Repeat for the other class
(new interface) and also place it in the new dll. The new dll is referenced
by the other two. So before you had dll_a referencing dll_b and vice versa.
Now you have dll_a and dll_b referencing dll_c.
Typically the creation code for the classes remains in one dll, let's say
dll_b (which means that dll_a also references dll_b but not the other way
round). When you provide more info on how *exactly* the two classes know
each other, we can look at this in more detail.
If there is a next question, I'll be looking for the attached repro and
answers to every question mark above ;-)
Cheers
Daniel