class MyCommonClass
{
//properties
}
This class should be accessible in
- service project
- wcf-client project
- the other for which they are references. In this common project I can't generate servicereferences.
I think, I could don't generate MyCommonClass
in ServiceReferences
but how to mark class to be nonserializable? In properties there's IgnoreDataMemberAttribute
. I tried also reuse MyCommonClass type located in common project, but it is still generated
UPDATE
In different words: if some type is used in ServiceOperation it's automatically generated into wsdl document. How to disable it? (I don't want it on wcf-client side)