This issue have been sometimes what happen with VS Team, when you able to fix this?
I have this issue since VS 2010.
each time when you add the namespace in the webconfig. I need to restart the Visual Studio, so the razor syntax able to notice each of my object.
<namespaces> <add namespace="Admin.Models.Directory" /> </namespaces>