Colmeister
unread,Jul 23, 2008, 4:42:21 AM7/23/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi,
When writing an application in C#, if I create a new folder in
Solution Explorer any classes I create in that folder contain the
folder name as part of the namespace.
For example if the namespace of my project is MyProject and I create a
folder called Data, any classes I create in this folder are in the
namespace MyProject.Data.
Does anyone know if I can force
VB.NET to behave like this as well. I
know it's possible to use the Namespace keyword in
VB.NET source files
but it's a real pain to do this manually for every new class. I can't
find an option in the IDE to do this automatically.
Thanks in advance,
Colin