title: Deployment of C# project and adding web service reference at the time of installation
body: <p>I have a requirement in which , application will be referenceing a web service. With each new client installation I need to update the reference manually by opening the project in VSS and re-adding the reference.</p>
  
  <p>Can I make addition of reference as a part of my installation project or I can add/update the web service reference through code in C#.?  </p>
  
  <p>I have no experience with creating a setup or msi project. If someone can also point me to a good tutorial then it will be great!.</p>
  
  <p><strong>Just a clarifiction for Service is not changing, Service will be hosted on differnt mahcine ,so every time URI is changed.</strong></p>
  
  <p>Snippet from app config :
  I need to update the endpoint and servicePrincipalName through code or setup project ?</p>
  
  <pre><code>  &lt;endpoint address="net.tcp://rntn1099:8201/AX/Services/APVendInvoice"
    binding="netTcpBinding" bindingConfiguration="NetTcpBinding_VendVendInvoiceService"
  contract="VendInvoiceService.VendVendInvoiceService"     name="NetTcpBinding_VendVendInvoiceService"&gt;&lt;identity&gt;  &lt; servicePrincipalName value="host/RNTN1099.corp.xyz.com" /&gt;
  </code></pre>