Service Reference Error: Failed to generate code for the service reference December 2, 2022 by Tarik Have to uncheck the Reuse types in all referenced assemblies from Configure service reference option Check this for details