473,395 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

getting agetting a bit confused with Assembly, Namespaces, Projectsand Solutions

Hi everybody,

I'm getting confused about "which-name-give-to-what" developing my
applications using Visual Studio.
If I have to develop a "Utilities" library containing some classes for
logging and other classes used for cryptography shall I build a new
Solution named "Utilities"? And how many projects shall I set in it? Let's
suppose I need to have two namespaces "Utilities.Log" and
"Utilities.Cryptography", in the same assembly... shall I create just _one_
project inside the solution? Is there a perfect correspondences
projects-->assemblies? If it's like this, there's no way to keep separated
different namespaces belonging to the same assembly in visual studio (and
it would seem to me quite "silly"...).
What am I missing?

Thanks,
Giulio
Jun 28 '06 #1
1 1260
Giulio,
I'm getting confused about "which-name-give-to-what" developing my
applications using Visual Studio.
If I have to develop a "Utilities" library containing some classes for
logging and other classes used for cryptography shall I build a new
Solution named "Utilities"? And how many projects shall I set in it? Let's suppose I need to have two namespaces "Utilities.Log" and
"Utilities.Cryptography", in the same assembly... shall I create just _one_
project inside the solution?
Yes

Is there a perfect correspondences projects-->assemblies?
Most of the time yes.

If it's like this, there's no way to keep separated
different namespaces belonging to the same assembly in visual studio (and
it would seem to me quite "silly"...).
What am I missing?


You can create subdirectories within the project. VS will even take
that into consideration when adding the default namespace to new
source code files.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jun 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

303
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
6
by: Pablo | last post by:
Hi, I'm creating an AppDomain and creating an instance of a class. This works fine unless I use caching, which I need to use. The exception that I get is of type "System.IO.FileLoadException"...
3
by: Lee Alexander | last post by:
I want to find out all the namespaces for an assembly and convert them into a tree that I can then traverse for use in an autocomplete popup. Now I figure I can do it by running over all the...
2
by: Donal McWeeney | last post by:
Hi, Are there any good guidance white papers out there on the best way to design and build assemblys in VS.Net that would cover the following questions I have and requirements I know of: The...
2
by: BuddyWork | last post by:
Hello, I want to know if there are tools out there that will tell me what the minimum permission set that I require to run my application. I've looked at PermView but this does not do this. It...
1
by: mirage83 | last post by:
Hi, Is it true that the CLR does not see any namespaces but only the assembly while executing? can i have two types which have the same name in different namespaces inside the same assembly and...
1
by: Dave Wurtz | last post by:
All, Is it possible to get all of the current namespaces that are available through reflection? What I am trying to do is get back all of the namespaces, then classes within the namespaces,...
7
by: Dylan Parry | last post by:
Hi, I've started to get a bit confused by namespaces and hierarchical organisation in general. What I want to do is something like this: Namespace MyNamespace | |- Class Foo | |- Namespace...
2
by: Giulio Petrucci | last post by:
Hi everybody, I'm getting confused about "which-name-give-to-what" developing my applications using Visual Studio. If I have to develop a "Utilities" library containing some classes for logging...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.