P
Paul
I have a class that references/consumes a webservice, and I would like to
split that class into a base class to be used as a based for classes in each
of two class libraries/DLLs.
I have extracted the base class into a cs file and inherit from it in two
class library projects by adding it to those projects using the "Link File"
option when adding an existing itme to each of those projects.
It all seems OK except the base class references the web service and needs
to have the web reference in a using clause prefixed with the project name,
however I don't want to specify the project name in a class file shared
between multiple projects.
Is the only way to solve this to put the base class in a seperate library
that also references the web service? That seems messy to me - surely
there's another more elegant solution that I'm missing?
TIA
cheers,
Paul Ritchie.
split that class into a base class to be used as a based for classes in each
of two class libraries/DLLs.
I have extracted the base class into a cs file and inherit from it in two
class library projects by adding it to those projects using the "Link File"
option when adding an existing itme to each of those projects.
It all seems OK except the base class references the web service and needs
to have the web reference in a using clause prefixed with the project name,
however I don't want to specify the project name in a class file shared
between multiple projects.
Is the only way to solve this to put the base class in a seperate library
that also references the web service? That seems messy to me - surely
there's another more elegant solution that I'm missing?
TIA
cheers,
Paul Ritchie.