Hong Li
Hong Li
@imcarolwang could you please see if you could repro the issue?
@mo-esmp this is likely a bug with Microsoft.XmlSerializer.Generator. Have you tried the 5.0 version of Microsoft.XmlSerializer.Generator and see if the problem still repro?
@TonyValenti do you have a copy of the service interface. The suggestion is to use the same service interface.
@mconnew can you please take a look when you get a chance?
@imcarolwang can you please see if you could put together a repro?
@samsp-msft can you please review this?
Thank you all for reporting this issue! This behavior is not a regression from svcutil.exe, see [this article](https://stackoverflow.com/questions/27235134/reuse-types-in-referenced-assembly-is-ignored-when-updating-a-service-referenc#:~:text=In%20this%20instance%20svcutil.exe%20will%20switch%20to%20use,can%20do%20away%20with%20service%20references%20all%20together.) and [doc](https://docs.microsoft.com/en-us/dotnet/framework/wcf/servicemodel-metadata-utility-tool-svcutil-exe#:~:text=In%20addition%2C%20the%20/r%20and%20/ct%20switches%20for%20referencing%20types%20are%20for%20generating%20data%20contracts.%20These%20switches%20do%20not%20work%20when%20using%20XmlSerializer.) for references. We will treat this issue as an enhancement...
@swk1986 does this issue repro on .NET framework with svcutil.exe?
The change is in, waiting to release soon.
@brewfreedom thanks for your feedback! Do you have any particular issue you would like to raise with us?