Sharing common class in wcf project
Posted
by
Saint
on Stack Overflow
See other posts from Stack Overflow
or by Saint
Published on 2012-10-23T14:18:02Z
Indexed on
2012/10/23
17:00 UTC
Read the original article
Hit count: 274
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
© Stack Overflow or respective owner