title: Correct way for create .cs file from an .svc with WCF
body: <p>A have a .Net Solution with a webservice and its unit tests.
  The webservice has its .svc and from the test project i need the .cs (generated, as far as i know, from the url of the service. Somthing like this <code>svcutil.exe [WebServiceUrl]</code>).</p>
  
  <p>To automate the unit test i need this .cs updated on the test project in every build so i added a pre-build event wich calls svcutil.exe to obtain the wsdl and generate the .cs. This step needs the service to be running but i need to create it from the project itself i dont want the service to be running to create the .cs. Is there a way to do this? or another approach?</p>