Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What files in Service References must be deployed to consume a WCF service?

Tags:

wcf

wcf-client

I'm concerned about files should be included in a deployment of a .NET project. I have console applications that are consuming a WCF service. The WCF service is running over HTTP. Do I need to deploy all the XSD, SVCINFO, WSDL & SVCMAP files that are in the Service References folder?

Thanks for any help. I sure wish there was a single page at Microsoft that definitively explained what file types were required in a deployment.

like image 237
Jeepy Avatar asked Jan 20 '23 14:01

Jeepy


1 Answers

The only bits you need at installation time are the compiled code and the .config file. The rest of the pieces (the code, WSDL, etc) or all for compile / design time.

like image 66
RQDQ Avatar answered Jan 23 '23 02:01

RQDQ