Question Moving to MudBlazor project, it doesn't recognize the Models namespace

Pablo

Well-known member
Joined
Aug 12, 2021
Messages
78
Programming Experience
10+
Hi all,
So I was training with Blazor CRUD and so, going quite well, and I created a new MudBlazor project to practice with the best (as suggested cjard), and move all the stuff to it. To be brief, it does recognize everything, the Interfaces namespace (directory), the Services namespace (directory), but it (incredibly) doesn't recognize the Models namespace, though it is there. You can see the images with the Models namespace declaration and the object type underlined as an error. I'm amazed. I tried creating the (objects) Models again, but it doesn't want to verify that the Models directory and namespce is there. Actually I don't know if this concerns to Blazor or not. Maybe it could be a VS bug.
I would appreciate any help. Thank you.
Pablo
 

Attachments

  • bl err 1.png
    bl err 1.png
    124.4 KB · Views: 23
  • bl err 2.png
    bl err 2.png
    60.1 KB · Views: 21
  • bl err 3.png
    bl err 3.png
    98.5 KB · Views: 26
C# is a case sensitive language. MudBlazors is not the same as MudBLazors.

As an aside, I highly recommend picking a namespace name that is different from an establish project or libraries name.
 

Latest posts

Back
Top Bottom