For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > October 2005 > namespaces









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author namespaces
BM

2005-10-30, 7:00 pm

Hi everyone,

A wee question:

How do I create namespaces that follow the standard below:

mycompanyname.bll
mycompanyname.pl
mycompanyname.dl

VS.NET will always (by default) start with "system" or something like that.
That's not what I want.

Thx for any help

BM


Robbe Morris [C# MVP]

2005-10-30, 7:00 pm

Right click the project and set the assembly name in
the properties. It doesn't necessarily have to
match the name space in your actual classes
but most people do.

I think the most common namespace naming
convention is:

companyname.productname.somedescriptorofassemblypurpose.dll



--
Robbe Morris - 2004/2005 Microsoft MVP C#
http://www.masterado.net





"BM" <mcbueno2k@hotmail.com> wrote in message
news:SW89f.1211$LF3.72198@news20.bellglobal.com...
> Hi everyone,
>
> A wee question:
>
> How do I create namespaces that follow the standard below:
>
> mycompanyname.bll
> mycompanyname.pl
> mycompanyname.dl
>
> VS.NET will always (by default) start with "system" or something like
> that. That's not what I want.
>
> Thx for any help
>
> BM
>
>



Gaurav Vaish

2005-10-30, 7:00 pm

: mycompanyname.bll
: mycompanyname.pl
: mycompanyname.dl

In the Menu:

Project -> Project Properties -> General

In the option of "Default Namespace", change it to whatever you want to.


--
Cheers,
Gaurav Vaish
http://mastergaurav.org
---------------------



BM

2005-10-30, 9:58 pm

Thank you all guys for the prompt response.

"Robbe Morris [C# MVP]" <info@eggheadcafe.com> wrote in message
news:O2xAGhY3FHA.1596@tk2msftngp13.phx.gbl...
> Right click the project and set the assembly name in
> the properties. It doesn't necessarily have to
> match the name space in your actual classes
> but most people do.
>
> I think the most common namespace naming
> convention is:
>
> companyname.productname.somedescriptorofassemblypurpose.dll
>
>
>
> --
> Robbe Morris - 2004/2005 Microsoft MVP C#
> http://www.masterado.net
>
>
>
>
>
> "BM" <mcbueno2k@hotmail.com> wrote in message
> news:SW89f.1211$LF3.72198@news20.bellglobal.com...
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com