© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
3 replies
.tree

❔ Circular dependency between projects

I migrated an old project to .NET 6 from .Net Framework. The application is a REST service running on a windows service.

In the old version, both of those were in a single project. With .NET 6 however I decided to split them into a Web API project for the REST service and a Windows Worker Service project for the Windows service, as that seems to be the best practice.

Now I have the issue of the REST project depending on the Windows Service project and vice versa. How do I deal with this?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Circular dependency between projects
C#CC# / help
3y ago
Circular Dependency
C#CC# / help
2y ago
Circular Dependency
C#CC# / help
2y ago
Referencing between Two Projects
C#CC# / help
3y ago