I am working on a asp.net web app in visual studio team system 2008 (visual web developer 2008) (version 9.0.21022.8) (.NET 3.5 sp1).
I’m trying to figure out how to add a “default” namespace to this project.
I don’t see any where in the properties that even references namespaces.
I know in VS 2010 there is a properties dialog box, but I can’t find it in VS 2008.
I’ve been Googling all day and can’t find anything relating to this.
What I have run across there appears to be this option, but no directions how to get to that screen.
Most likely you are working on a Web Site project rather than a Web Application project.
Web sites do not have a default namespace (as other .Net projects have), and the page classes are in the global namespace. Code-behind files do not contain a namespace declaration, and markup references the classes without a namespace.