❔ namespace 'Models' does not exist in the namespace 'BlazorBookGroup'
It is a subfolder though so what's the issue?
5 Replies
Items inside of
Models
folder can be in a Unga.Bunga.Binga
namespace
Directories != namespacesOK but the namescpae was BlazorBookGroup.Models
Looks like it's working now that I put it in the Data folder.
But not sure why it wouldn't work in the Models folder.
But I shouldn't have a Models folder in a Blazor project right? It should just all go in the Data folder?
for reference you can add the usings in
_Imports.razor
and just use the types like normal, you don't need to use fully quallified namespaces
is just fine, however, naming things better helps Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.