✅ Missing reference for one entity but not for another
I have two entities: Cat, Dog in Database.Entities project. If I reference this project via
using Database.Entities
I can type new Cat()
and use it but I can't type new Dog() and it gives error that missing reference and I have to use new Database.Entities.Dog()
What in the world is going on? Thank you!8 Replies
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
the namespace is the same in both files and under the same folder
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
aha
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
looking for that now
maybe I spot something. Sharing the code is kind of impossible because is a really big project
@TeBeCo yep, thank you! That was. Some folders ware in the singular form, i.e. Item instead of Items and the entity was Item too...
and the namespace of some classes ware containing the word Item and make conflict with the entity Item
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
Use the /close command to mark a forum thread as answered