Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheriting from a .dll assembly
Message
From
17/01/2007 09:25:36
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Object Oriented Programming
Title:
Inheriting from a .dll assembly
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01186229
Message ID:
01186229
Views:
69
I was referred to some C# classes that I wanted to use in my application, so I compiled them as a Class Library. I am referencing the .dll in my biz layer (seperate project from my UI project), and inheriting some classes. In my UI project, I am trying to use a method of my inherited class that actually resides in the base class, and I get an error that I need to reference the .dll class library in my UI project. This doesn't seem right to me. Am I doing something incorrectly?

I know I can either reference the .dll in my UI project, but that is breaking the encapsulation I am trying to achieve.

I will probably just override the methods in my biz layer that I need, but doesn't seem like it should be necessary to me. Anybody else ever encounter this?
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform