I have a solution with 3 projects
Project1 - main application
Project2 - graphing application
Project3 - graphing library
The data is accessed from objects in Project1. Project 1 has a reference to project 2 to create a display of the data (form), and projectg 2 has a reference to project 3 to do the actual heavy lifting of rendering the graphs.
Now, project 3 needs to have access to the objects/methods of project 1 as that is where the data lives. But when I add a reference from project 3 to project 1, I get an error about circular references.
How can I solve this issue?
Thank,
Reza
You need to keep the flow in one direction.. down.
To get around that, I generally have a “Models” project. Data models are stored in this project all by themselves and this project is referenced by any other project that requires them.