C
C#13mo ago
Sonath

❔ Referencing new projects with the main project

Let's say I have a main project CoreProject and I want to add 2 new projects: a LoggerService and a Contracts. The question is: Is it okay if I make LoggerService have a project reference with Contracts and then have CoreProject have a project reference with LoggerService? Does this mean that CoreProject also has a reference with Contracts because LoggerService has it?
3 Replies
Erroneous Fatality
Yes, CoreProject will have access to Contracts through LoggerService. It's also fine to have both CoreProject and LoggerService reference Contracts, if CoreProject needs to use Contracts code unrelated to the LoggerService usecases.
Sonath
SonathOP13mo ago
Alright, thank you 😄 much appreciated!
Accord
Accord13mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server