B
Brett Romero
I have this situation:
myEXE <needs< DerivedClass <which needs< BaseClass
Meaning, myEXE is using a type defined in DerivedClass, which inherits
from BaseClass. I include a reference to DerivedClass in myEXE, which
gives this error:
The type 'BaseAssembly.SomeClass' is defined in an assembly that is not
referenced. You must add a reference to assembly 'BaseAssembly,
Version=0.1.0.0, Culture=neutral, PublicKeyToken=null'.
The only way it works is if I also include BaseClass, which I shouldn't
have to. This guy try to point it out for a few people but they all
figure including the whole chain (meaning BaseClasses) is the correct
method:
http://groups.google.com/group/micr...s+not+reference&rnum=8&hl=en#9c4879b878b0f351
Is this just the way it has to be in C# 2.0 or is there another way
without including the entire chain?
Thanks,
Brett
myEXE <needs< DerivedClass <which needs< BaseClass
Meaning, myEXE is using a type defined in DerivedClass, which inherits
from BaseClass. I include a reference to DerivedClass in myEXE, which
gives this error:
The type 'BaseAssembly.SomeClass' is defined in an assembly that is not
referenced. You must add a reference to assembly 'BaseAssembly,
Version=0.1.0.0, Culture=neutral, PublicKeyToken=null'.
The only way it works is if I also include BaseClass, which I shouldn't
have to. This guy try to point it out for a few people but they all
figure including the whole chain (meaning BaseClasses) is the correct
method:
http://groups.google.com/group/micr...s+not+reference&rnum=8&hl=en#9c4879b878b0f351
Is this just the way it has to be in C# 2.0 or is there another way
without including the entire chain?
Thanks,
Brett