hi,
can someone explain the following problem :
I have dll1 with class1. dll1 references dll2 with class2. class2 has a property "public bool IsFolder"
class1 has a property "public List<class2> Items"
In a form I reference dll1 and have an object "class1 obj"
So now when I say "if (obj.Items[0].IsFolder) ....." I get a compile-error which states my form has to reference dll2 and when I do so everything works fine.
Why does my form have to know about dll2 ?
thanks in advance
can someone explain the following problem :
I have dll1 with class1. dll1 references dll2 with class2. class2 has a property "public bool IsFolder"
class1 has a property "public List<class2> Items"
In a form I reference dll1 and have an object "class1 obj"
So now when I say "if (obj.Items[0].IsFolder) ....." I get a compile-error which states my form has to reference dll2 and when I do so everything works fine.
Why does my form have to know about dll2 ?
thanks in advance