You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While trying to update to System.ServiceModel.Http v4.10.0 we now get this new warning (and since our pipelines runs with warnaserror this breaks the pipeline)
error CS0108: 'OurServiceNameClient.CloseAsync()' hides inherited member 'ClientBase<IOurServiceName>.CloseAsync()'. Use the new keyword if hiding was intended.
We have tried to regenerate the client client, even with latest VS2022, but doesn't help ? Any guide on how to proceed?
The text was updated successfully, but these errors were encountered:
Same problem here but with System.ServiceModel.Primitives v4.10.0. Same underlying issue though - WCF 3.4.0 (#4865 I guess). Manually adding "new" to a auto generated client class does not feel right.
The workaround is to delete the OurServiceNameClient.CloseAsync(), and the fix is to fix dotnet-svcutil not to generate 'OurServiceNameClient.CloseAsync()'.
Describe the bug
While trying to update to System.ServiceModel.Http v4.10.0 we now get this new warning (and since our pipelines runs with warnaserror this breaks the pipeline)
error CS0108: '
OurServiceNameClient.CloseAsync()
' hides inherited member'ClientBase<IOurServiceName>.CloseAsync()'
. Use the new keyword if hiding was intended.We have tried to regenerate the client client, even with latest VS2022, but doesn't help ? Any guide on how to proceed?
The text was updated successfully, but these errors were encountered: