Sharing common class in wcf project
- by Saint
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