P
Paolo
I've created a class Library called Utilities (utilities.dll) with namespace
'Utilities' and a class 'Utils' which contains, say, function01, function02.
I've created another class Library called ScreenManager . I've added a
'using Utilities' directive at the head of this file, and also added a
reference to 'utilities.dll' . I have 3 classes in the Screenmanager
file.When I try to use function01 and function02 in any of the 3 classes I'm
getting an error "The name 'function01' does not exist in the current
context", same for any use of function02.
If I qualify my use e.g. Utilities.function01, I get an error "The type or
namespace name 'function01' does not exist in the namespace 'Utilities'".
So I'm confused as I thought the 'using' directive and adding a reference
would make my utilities 'visible'.
'Utilities' and a class 'Utils' which contains, say, function01, function02.
I've created another class Library called ScreenManager . I've added a
'using Utilities' directive at the head of this file, and also added a
reference to 'utilities.dll' . I have 3 classes in the Screenmanager
file.When I try to use function01 and function02 in any of the 3 classes I'm
getting an error "The name 'function01' does not exist in the current
context", same for any use of function02.
If I qualify my use e.g. Utilities.function01, I get an error "The type or
namespace name 'function01' does not exist in the namespace 'Utilities'".
So I'm confused as I thought the 'using' directive and adding a reference
would make my utilities 'visible'.