HI all. I have a Web Application where I’ve defined my default namespace to be MyWebApp. Now, in the root of my application I have a folder called \code where I store all of my C# code. By default, any *.cs files that I create in this \code file get a namespace of MyWebApp\code. I would prefer not to have the “\code” portion of the file hierarchy to make its way into my namespace hierarchy.
MyWebApp
\code
class1.cs <-would like namespace to be MyWebApp
\bizobjects
customer.cs <-would like namespace to be MyWebApp.bizobjects
I know I can modify every *.cs file I create but it’s an annoyance. Any ideas?
Thanks
In the end analysis it doesn’t seem like there’s an answer. So for EVERY class I create I need to remember to go in a manually change the namespace. I’ll just send a feature request to MS.