Monthly Archives: December 2014

Visual Studio 2013 – project builds but reports The type or namespace name could not be found

Full error:

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