我希望在用WCF Connected Service生成客户端代码时,可以重用如下类型。
[DataContract]
[Flags]
public enum MarriageStatus
{
[EnumMember]
None = 0,
[EnumMember]
Single = 1,
[EnumMember]
Lovestruck = 2,
[EnumMember]
Engagement = 3,
[EnumMember]
Married = 4,
[EnumMember]
Divorced = 5
}
在生成的时候,勾选了Reuse types in referenced assemblies
,并选择了相应的类库。然而却没有任何效果,请问是哪里不对吗?还是这个工具的BUG?
11111