R
Ruslan
Hi,
I have 3 projects:
1. Common
2. Desktop
3. WebServices
The Common is used in Desktop and WebServices project.
In Common I have the class Order.
I get the value for Order class from WebServices like this:
Order order = null;
order = localhost.GetOrder();
If I use different namespace in Common and Desktop I'll get this error,
which is correct.
Cannot convert source type Order to target name Common.Order.
But if I use the same namespace for both Common and Desktop project the
application work perfect. Is that OK, or can I have the problems in the
future? Should I convert the Order class from localhost to Common (using
IXmlSerializable, for instance)?
Thanks a lot
Ruslan
I have 3 projects:
1. Common
2. Desktop
3. WebServices
The Common is used in Desktop and WebServices project.
In Common I have the class Order.
I get the value for Order class from WebServices like this:
Order order = null;
order = localhost.GetOrder();
If I use different namespace in Common and Desktop I'll get this error,
which is correct.
Cannot convert source type Order to target name Common.Order.
But if I use the same namespace for both Common and Desktop project the
application work perfect. Is that OK, or can I have the problems in the
future? Should I convert the Order class from localhost to Common (using
IXmlSerializable, for instance)?
Thanks a lot
Ruslan