serializer
Programmer
I have a dll which has some base classes - for example a class called Market.
This dll is used in a web service and a winform project. In the webservice I have a function returning and object of type Market.
The problem I am having is that I can't cast the returned object to the dll class. I have tried (Market) and as conversion but get errors at compile level.
Even though the classes are "the same" I assume that the namespace is the problem. An example of this is that the winforms application thinks that the webservice function returns type:
Winformsapplication.Servicereference.Market
While the dll that both uses are:
MyDll.Market
How can I convert these objects?
This dll is used in a web service and a winform project. In the webservice I have a function returning and object of type Market.
The problem I am having is that I can't cast the returned object to the dll class. I have tried (Market) and as conversion but get errors at compile level.
Even though the classes are "the same" I assume that the namespace is the problem. An example of this is that the winforms application thinks that the webservice function returns type:
Winformsapplication.Servicereference.Market
While the dll that both uses are:
MyDll.Market
How can I convert these objects?