Namespace problem

10/10/2014 06:11 Paristôn#1
I got an annoying problem, that ..
when i add a folder to a specific path for example (New is a folder inside Network folder)

so that i should write :

using Conquer_Online_Server.Network.New;

The problem is that when i compile i got this error.

The type or namespace name 'New' doesnot exist in the namespace 'Conquer_Online_Server.Network' (are you missing an assembly reference?).


well, i googled alot , i got 0 solutions lol
changed the FrameWork version to 4.5

also i tried to add references to ma project but nothing could help.


In fact, that makes another problems that the program cannot see the codes inside the folder "New" so i got about 120 error . :D

so, if anybody faced this problem before and can help, please go for it.

thanks :)
10/10/2014 07:52 Super Aids#2
Namespaces are not by folder names, it's just something Visual Studio has as a setting, where it creates the namespace automatically from the folder name. If the setting is off you have to type the namespace by yourself, so check all your .cs files in the folder and see if they match the namespace.
10/10/2014 17:32 abdeen#3
You just need to add a class or something else to this folder to get it's namespace work as you looking for ..