views:

1220

answers:

2

For some reason when I create a new namespace in Visual Studio 2008 its not being recognized. I'm using asp.net mvc, I don't know if that has anything to do with it.

Has anyone come across this before?...and how do you fix it? Also is there a way to force Visual Studio to maybe re-examine new namespaces?

Answer: I figured out the problem...check it.

A: 
alexmac
+2  A: 

Not sure how this happened but the build property for this class file was set to "content". The compiler didn't see the new namespace. As soon as I set it to "compile", it worked fine.

Weird!

Donny V.