Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Namespace name convention
Message
De
31/03/2007 21:38:52
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01210834
Message ID:
01210904
Vues:
17
Yes, right-click on the project in Solution Explorer ... that is what Einar meant.

BTW, in addition to changing my Default namespace, I also change the Assembly name too (this will be the actual filename of the DLL).

~~Bonnie



>>It is a good practice to use the MyCompany.MyApplication.Business.MyBusinessClass. approach for your namespaces, but use an abreviation for your company name (because you will be typing it a lot <s>). I use "ALS" for my apps at work so that when I type "ALS." intellisense takes over.
>>
>>You can change each class you create manually but that would be a pain in the a$$. so the wonderful people at M$ added a way to set a default namespace for an assembly in VS. Just righ-click your assembly in the solution explorer and select properties. Then change the Default Namespace to DL.MyApp....whatever
>>
>>HTH,
>>Einar
>
>When you are saying click on he assembly, what is it? I can click on the Solution name and get properties but that does not have a default Namespace. When I right mouse click on a project and select properties, I can see default NameSpace. Is that what you mean by assembly?
>
>Thank you for your help.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform