I’m new to splitting up my applications into multiple solutions (in other words I just got into the real world), I have a situation where I’m fully seperating the logic from the UI into a seperate project. Where I’m falling down is my glue code.
As a simple example.
Project car references projects containing door,radio etc
Project garage references project car, but needs to use radio.
Do I need to add a reference to the radio project in the garage project?
Yes, you’ll need to add a reference to both libraries. In general, you need to add a reference to all libraries declaring types you directly use; by declaring variables of those types, inheriting from them, using methods that has the type as parameters or return type, etc.