K
K Viltersten
I have a solution with a project names
ProjA and ProjB. In ProjA i have a class
called ClassA. It contains a static,
public member MembA.
I'd like to read MembA when executing
code in class ClassB in the project
ProjB, but when i try the following, i
get nothing from Intellisense (and it
doesn't compile either).
ClassA.MembA = null;
The error is as follows.
"The type or namespace name 'ClassA' could
not be found (are you missing a using
directive or an assembly reference?)"
However, them being in the same namespace
mean that they know about eachother,
doesn't it?
Or is it required to reference projects
in the same namespace and the same solution?!
ProjA and ProjB. In ProjA i have a class
called ClassA. It contains a static,
public member MembA.
I'd like to read MembA when executing
code in class ClassB in the project
ProjB, but when i try the following, i
get nothing from Intellisense (and it
doesn't compile either).
ClassA.MembA = null;
The error is as follows.
"The type or namespace name 'ClassA' could
not be found (are you missing a using
directive or an assembly reference?)"
However, them being in the same namespace
mean that they know about eachother,
doesn't it?
Or is it required to reference projects
in the same namespace and the same solution?!