I have a solution in which there are many projects.
The project SqlSmoke.Objectsrefers to the project SqlSmoke.Data.
I set the link in SqlSmoke.Objectsto the solution SqlSmoke.Data. Then I can compile the whole solution.
However, it SqlSmoke.Datadoes not appear in intellisense, as shown below. However, when I change my namespace to SqlSmoke.Fred, I see SqlSmoke.Datain intellisense.
I do not see any circular links or other warnings in the output window that suggest that something else is happening.
What can I find to understand why I cannot refer to objects in the Data project from the Objects project?
using SqlSmoke.Data;
namespace SqlSmoke.Objects
{
public class Class2
{
public void Junk()
{
SqlSmoke.Data.
}
}
}
If I change the namespace, I get Intellisense:
using SqlSmoke.Data;
namespace SqlSmoke.ObjectsChangedNamespace
{
public class Class2
{
public void Junk()
{
SqlSmoke.Data.CodeObjectData.AddCodeObject("Test");
}
}
}
source
share