The type or namespace name ‘test’ could not be found (are you missing a using directive or an assembly reference?)
Namespace exists, all references are in place, but the error persists.
Few step to resolve it:
- close the Visual Studio
- delete *.suo files from the project
- re-open the solution
- rebuild the solution
Source Stack Overlow