4
After I go to Project > Add > New Folder, rename the folder and put classes inside it I can no longer reference it in another file, for example if I would use in one controller, I would use as I always used the command
using nomeProjeto.NomedaPasta
However, this "Folder Name" does not appear and even putting without the help of VS, when I use the controler that has the reference, is generated an exception saying that the namespace
is invalid.
I have tried everything, close and open VS, close all VS Tabs and open again, clean the temporary file, restart the machine...
About the concepts, I was already aware about the differences, I think I expressed myself badly. However visualizing his answer and the gypsy I was able to locate the problem, when creating a class in the folder, VS did not automatically introduce the namespace...
– Matheus Silva
Especially since it’s not his job to do this.
– Maniero