WCF : FaultContract(typeof(ExceptionDetail)) issue
- by jitus
I have put the attribute [FaultContract(typeof(ExceptionDetail))] for my operation contract. When I am trying to add the service th' a client app, I get this error - "Custom tool error: Failed to generate code for the service reference 'ServiceReference1'. Please check other error and warning messages for details."
But when I comment out the FaultContract Attribute, I am able to add the wcf service reference th' my client app.
Would appreciate if somebody can help me solve this mystery.
Thanks