title: How retrieve or generate .svcmap file by command line or programmatically?
body: <p>I need to retrieve or generate the WCF file .svcmap using the command line. I normally add or update the services references using Visual Studio (Update Service Reference / Add Services Reference), but I need to do this task programmatically now.</p>
  
  <p>So far I found: <code>svcutil.exe</code> which is a good way to retrieve and generate some part of the needed files: </p>
  
  <pre><code>output.config  
  *.cs  
  *.wsdl
  </code></pre>
  
  <p>But is still missing the <code>.svcmap</code> which I have read is a very important file and the <code>.datasource</code> files. Can someone knows how to recreate programmatically what Visual Studio does in this case??</p>