I started a test project that mimics the project from the 'WCF,
Mocking and IoC Oh My!' post Ayende made on his blog.  I'm using the
latest version of Rhino Mocks/WCF and get the following error after
updating your sample project:

The service class of type
IOrderServiceProxy28e3845156f14f16b2da0c47a1c43749 both defines a
ServiceContract and inherits a ServiceContract from type
WCF.TDD.IOrderService. Contract inheritance can only be used among
interface types.  If a class is marked with ServiceContractAttribute,
it must be the only type in the hierarchy with
ServiceContractAttribute.  Consider moving the
ServiceContractAttribute on type WCF.TDD.IOrderService to a separate
interface that type WCF.TDD.IOrderService implements.

It looks like the attributes are cloned now, which causes the
collision...  Any thoughts on how to get around this?

Going back to the version of Rhino mocks in the project resolves the
issue, but I would like to use the latest version if possible.

Thanks,
C

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RhinoMocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to