When I publish a web application that consumes a WCF service, the Service References
folder, which contains some svcinfo
, svcmap
and wsdl
files, is copied as well (tested with Publish to File System).
However, these files are not needed to run the application (although they are obviously required for developing and compiling the application). Why are they included, even if the project settings say that "Only files needed to run this application" should be deployed? Is this a bug in Visual Studio or is there some purpose behind this?