How to user abstract class in EXE and DLL without get

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an EXE and DLL in the same solution. Each one uses the same abstract
class in their respective code. How can I set up the build so that I don't
get the
"X is defined in multiple places" warning message.
 
Scott,

As I told you before, you have to factor this out into another dll and
then reference it in both the exe and the dll.
 
Hi,
First, you should define the Type in one place olny if you have the exact
same behavior.
If behavior is different but the names are same then just change namespace
of both the Type and then you can easily refer the Type by namespace and
type name.

HTH,
 
Back
Top