C
C#2y ago
Shizuru

✅ Trouble importing LoggerService namespace with ILoggerService in .NET Core API

Could someone help me with this error? I can't import the LoggerService namespace no matter what I try. The strange thing is that I can import it only if I don't import the ILoggerService, but then I can't import the ILoggerService after importing the LoggerService!
4 Replies
Shizuru
ShizuruOP2y ago
.
FestivalDelGelato
if you try add the dependency manually does it say there is a circular dependency? what's the namespaces of these classes
Shizuru
ShizuruOP2y ago
"If you try to add the dependency manually, does it say there is a circular dependency?" - Yes. "What are the namespaces of these classes?" - The namespaces are correct. I'm not able to reference both of them at the same time. I'm following the book "Ultimate ASP.NET Web API," and I've done what the book asked me to do.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?