So I have many projects in my solution.
- AppName
- AppName.Game
- AppName.Common
- AppName.Core
I'm currently hosting networking in AppName.Common
because AppName
requires it to initialize it, and AppName.Game
requires certain classes from it to store propertys based on them classes.
The problem comes when I can't reference AppName.Common
and AppName.Game
both ways. Common requires the Game's classes to know what to call when a new packet comes in, and the game project needs the networking (DotNetty) to use the classes for the propertys.
I can't see why Microsoft have blocked referencing both ways, it seems like such a struggle to get to where you want to be? Is there any workaround for this?