title: Configure Visual Studio to publish the WCF service app on build
body: <p>I have created a WCF application (the one with .svc file). When I build this project, only bunch of DLLs are created but to be able to host it in IIS, I have to use publish option (right click the project and publish). This generates DLLs, copies app.config and .svc file. This bunch now can be hosted in IIS.</p>
  
  <p>I want Visual studio to publish whenever i build the project. How can I do it?</p>