Modify ServiceReferences.ClientConfig file using bat before deploying SilverLight solution -


my team developing silverlight application , switching our solution https on our server use http locally. so, in xap file results when building app there servicereferences.clientconfig having configuration web services referenced in project. issue have configuration when running locally , have other configuration when deploy it. decided alter servicereferences.clientconfig before building because otherwise encapsulated in .xap file. using msbuild in bat file deploy solution. config file:

<configuration>     <system.servicemodel>         <bindings>             <custombinding>                 <binding name="custombinarybinding">                   <binarymessageencoding />                   <httptransport maxreceivedmessagesize="2147483647" maxbuffersize="2147483647" />                 </binding>             </custombinding>         </bindings>         <client>           <endpoint address="../../platformadminutil.svc"                binding="custombinding" bindingconfiguration="custombinarybinding"                contract="platformadminutil.platformadminutil" name="custombinding_platformadminutil" />          </client>     </system.servicemodel> </configuration> 

i wish change <httptransport/> tag <httpstransport/>. i'm new on scripting in bat files need on script manage this.


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -