SOLVED: Custom tool error: Failed to generate code for the service reference ‘ServiceReference1’. Please check other error and warning messages for details.

Added a service reference as usual.

Got a single error message that referenced “other errors and warnings”. No other errors and warnings :

No code was generated in my service reference.

Unchecked “Reuse types in referenced assemblies” check box.

Service reference code gets generated!

But why did this happen? I have another project referencing the same service with the “Reuse types in referenced assemblies” check box checked with no problem. Just out of the blue this project stops working?