error MSB4006: A circular dependency exists in the target dependency graph in which the destination

Hi how are things. The error is in Spanish, but the error is the same. Below I leave the structure of my project and some files that seem important to me (which is why I could generate that error), thank you very much.
No description
No description
8 Replies
peladodocinero
peladodocinero9mo ago
No description
No description
No description
peladodocinero
peladodocinero9mo ago
Any error or recommendation are welcome. Thanks https://github.com/Ivowainer/NomNomNush_Hub
GitHub
GitHub - Ivowainer/NomNomNush_Hub
Contribute to Ivowainer/NomNomNush_Hub development by creating an account on GitHub.
Petris
Petris9mo ago
I mean, isn't the issue literally that Application references Infrastructure and Infrastructure references Application?
peladodocinero
peladodocinero9mo ago
Yeah, but what is the wrong with that?
Thinker
Thinker9mo ago
It's a cyclic reference, which isn't allowed. MSBuild can't figure out which project to build first, because both depend on each other.
peladodocinero
peladodocinero9mo ago
LOL, I didn't know. And what do I have to do if I want to "get" methods from a class that is in another project?
phaseshift
phaseshift9mo ago
Reference the project. But if you hit circular reference, then make a new project Although if you're doing some 'clean architecture' thing and hitting reference problems then you're probably doing something wrong
peladodocinero
peladodocinero9mo ago
Okay, thanks :D!
Want results from more Discord servers?
Add your server