In Visual Studio (C#) I have a form created as part of a project and need to have access to another form that should be created through another project and have both forms reference each other when necessary.. How do I go about doing that?
You can right click on the project name in project explorer window. And choose Add Reference. In the Add Reference window, choose “Projects” tab and select the project you wish to reference to. Do the same for another project. They should now can reference each other.
Right click on References in your project and select “Add Reference”, then add another project as reference.
If these are in different assemblies, then you are going to have a circular reference, which is disallowed. Visual Studio will give you an error message when you try to add the second reference. The real solution to this problem is to introduce an abstraction (assuming you can’t just go ahead and put them into the same assembly, that is).
Here’s the best write-up I’ve ever found about the issue. Hope it helps.