I'm looking for the best approach to share types (the actual classes, not proxies) between a WCF service and a client. To that end, I defined the classes in a separate assembly that both service and client reference. I selected "Reuse types in all referenced assemblies" when generating the service reference in the client, but References.cs is generated with proxies for all classes.
This is exactly the same question as this one, but I don't know how to implement the accepted solution. One difference is that I'm using VS 2010 Beta 2.
import the complete service contract in code form
or
create your own ClientBase-derived class. It's really very easy
Assuming this is the best approach, I would appreciate a good link that covers how to do this. Is the approach outlined in that answer the best one?