The type or namespace name could not be found

The type or namespace name could not be found

** NOTE ** THIS IS ONLY IF YOU ARE USING “[Required]” NAMESPACE.

So after some time of coding in C# I’ve been noticing a lot new references and getting the hang of .NET pretty quick. But the best way to learn is to fail! So that’s what I’ve been doing a lot, is trying new things, getting errors and then fixing them. One error I’ve noticed real quick was the ‘The type or namespace name could not be found’ when I wanted to set up a ‘[Required]’ namespace. So after some Googling and reading the wrong answers, I thought well maybe I can just look at some other sample code I have and see what those are doing… Sure enough, there was my answer smiling at the top of the first class I opened up! Continue reading “The type or namespace name could not be found”