473,659 Members | 2,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Cryp tography", 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 1270
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.Cry ptography", 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
17593
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. Yahoo store was originally written in Lisp. c. Emacs The issues with these will probably come up, so I might as well mention them myself (which will also make this a more balanced
6
6009
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" which message is: {"The given assembly name or codebase, 'MyAssemblyDisplayName', was invalid." } The stack trace is:
3
1351
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 exported types of the assembly and getting the namespaces they are in but is there a better way??? Regards Lee
2
1829
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 assembly(s) I build must be installed in the GAC. My assembly(s) needs to include the following: - my own class/utility librarary code
2
1777
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 just shows the specified permission sets. I basically want the tool to scan my assembly and it's references and check what namespaces the code is using and then identifiy each permission set required to run my assembly.
1
1101
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 still have my program work? this wldnt be possible if the runtime doesnt see namespaces? thanks shikher
1
1277
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, then methods/properties within the classes. I need each one separated - like VS.NET's intellisense. I'm trying to get all of this information from System.Reflection.Assembly.GetExecutingAssembly.GetReferencedAssemblies.
7
1337
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 MyNamespace.Foo
2
1368
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 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......
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8751
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8535
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8629
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2757
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.