开发者

Using Svcutil to create proxy class does not include XmlIgnore attribute

开发者 https://www.devze.com 2022-12-29 17:43 出处:网络
Is there a way to have SvcUtil include the [XmlIgnore] attribute? we need this attri开发者_运维知识库bute in our proxy classes (because we have Dictionaries that XmlSerialization does not like), but

Is there a way to have SvcUtil include the [XmlIgnore] attribute?

we need this attri开发者_运维知识库bute in our proxy classes (because we have Dictionaries that XmlSerialization does not like), but SvcUtil does not include these attributes in the generated proxies.


I was not able to find an automatic way to do this. We just have had to put the tags on manually after creating the proxy.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号