Per Edin


Can I prevent Visual C# IDE (Visual Studio 2005 Pro) from putting classes/interfaces inside the subnamespace with the same name as the folder it is created in

I.e. C# Class Library DLL has a subfolder called "Foo" and classes created in the folder Foo automatically gets in DefaultNamespace.Foo.

Regards, Per Edin

Re: Visual C# IDE Creating a class in a folder creates it in namespace .[FolderName]

Chris Brandsma

I haven't found a way around that other than to use the ReSharper add-in from JetBrains.