C
C#17mo 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
ShizuruOP17mo ago
.
Omnissiah
Omnissiah17mo ago
if you try add the dependency manually does it say there is a circular dependency? what's the namespaces of these classes
Shizuru
ShizuruOP17mo 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 User17mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server