The type or namespace name 'IArchivable' could not be found
Hi, I'm working on an
ASP.net core 6
project with EF Core
using CQRS
and Clean Architecture
.
The problem is :
I have the class captured in the provided screenshot, I just commited
a change in one of the project apps, and from another computer I pulled
the last changes, but the JetBrains Rider
show the following errors when I try to build the entire solution.
ArchivableEntityExtensions.cs(7, 122): [CS0246] The type or namespace name 'IArchivable' could not be found (are you missing a using directive or an assembly reference?) ArchivableEntityExtensions.cs(17, 119): [CS0246] The type or namespace name 'IArchivable' could not be found (are you missing a using directive or an assembly reference?) ArchivableEntityExtensions.cs(22, 124): [CS0246] The type or namespace name 'IArchivable' could not be found (are you missing a using directive or an assembly reference?) ArchivableEntityExtensions.cs(12, 127): [CS0246] The type or namespace name 'IArchivable' could not be found (are you missing a using directive or an assembly reference?) ArchivableEntityExtensions.cs(28, 128): [CS0246] The type or namespace name 'IArchivable' could not be found (are you missing a using directive or an assembly reference?) ArchivableEntityExtensions.cs(33, 133): [CS0246] The type or namespace name 'IArchivable' could not be found (are you missing a using directive or an assembly reference?)Please, I hope if anyone has any idea about how to fix this issue, and thanks in advance
11 Replies
The screenshot of errors
Could you show the entire content in that fil? Including the namespace.
I actually have a
global usings
fileand it contains the following
usings
Could you show IArchivable?
You don't have MBSM.Core.Interfaces in your global.cs file
Yes but he does have it inside the file which is using it. That's the weird thing.
wait wait wait, what the actua f...k happened, idk how I forgot it
but why everything works fine in another computer
omg
I added it to
global usings
but still getting the same errror
holly crap all the problem is I didn't built the MBSM.Core
project