R
Robert Warnestam
I've two class libraries, where one is referencing the other.
The first library looks like this; (assembly name and root name space is set to Codab.Parser)
namespace Codab.Parser
{
public class Parser
{...}
...
}
The second library looks like this (assemble name and root name space is set to Codab.TapNet)
using Codab.Parser;
namespace Codab.TapNet
{
public class FileExport
{
private Parser = fParser;
}
...
}
My problem is that I can't access the Parser class directly (I receive the message 'Codab.Parser' is a 'namespace' but is used like a 'type') in the second library. I really don't want to use full names when accessing this class or something else in this library.
If I change the namespace to something like "Codabxx" it works!
Can somebody please explain what is going wrong.
Thanks
Robert Warnestam
The first library looks like this; (assembly name and root name space is set to Codab.Parser)
namespace Codab.Parser
{
public class Parser
{...}
...
}
The second library looks like this (assemble name and root name space is set to Codab.TapNet)
using Codab.Parser;
namespace Codab.TapNet
{
public class FileExport
{
private Parser = fParser;
}
...
}
My problem is that I can't access the Parser class directly (I receive the message 'Codab.Parser' is a 'namespace' but is used like a 'type') in the second library. I really don't want to use full names when accessing this class or something else in this library.
If I change the namespace to something like "Codabxx" it works!
Can somebody please explain what is going wrong.
Thanks
Robert Warnestam