-
Namespace issue?
Hi there,
I seem to have some sort of namespace issue? I think... I am not sure what the deal is.
I have created several classes - they all exist in the namespace called LocalSite, of course I use the directive "using LocalSite;" and everything compiles just fine however visual studio seems to have lost track of it somehow.
my code compiles just fine but for instance I have something like this.
Code:
Contact brideContact = new Contact();
I get the red line under Contact and it tells me that I am the type or namespace cannot be found, etc, etc... and then of course intellesense isn't working.
UHG!!! This is frustrating - anyone know what the issue might be?
Thanks!
-
Re: Namespace issue?
That was weird - i just broke is by putting XXX after the namespace declaration and then fixed it and it seemed to cause it to get it's head out of it bottom... I still would like to know what the issue is.
Thanks!
-
Re: Namespace issue?
I don't know if this would be related, but you don't need using statements for accessing members of the same namespace. If ClassX and ClassY are both in namespace NSExample, they don't need "using NSExample;"