title: Why does publishing a WCF client application include the Service References folder?
body: <p>When I <a href="http://msdn.microsoft.com/en-us/library/dd465337(v=vs.110).aspx" rel="nofollow noreferrer">publish a web application</a> that <em>consumes</em> a WCF service, the <code>Service References</code> folder, which contains some <code>svcinfo</code>, <code>svcmap</code> and <code>wsdl</code> files, is copied as well (tested with Publish to File System).</p>
  
  <p>However, <a href="https://stackoverflow.com/q/4901424/87698">these files are not needed to run the application</a> (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?</p>