Error 240 Custom tool error: Failed to generate code for the service reference 'FooService'. Please check other error and warning messages for details. C:\Development\SolutionName\ProjectName\Service References\FooService\Reference.svcmap
- Try "Update Service Reference"
- Try "Configure Service Reference" and unchecking "Reuse types in referenced assemblies"
- Try searching through the generated files (.disco, .wsdl, .xsd) for path references that differ from the address set in the step above.
- Try dropping the entire service reference and adding it again.