I run into the same problem when I add a reference of Class A in Class B and then attempt to add a reference of Class B in Class A. This show such code in a tutorial in ASP.Net 3.5 by Stephen Walther but it gives an error when I attempt it in practice.
Have any one tried it and found a solution?
My work around is to simply reference both classes A and B from the user interface class.