wcf - How can I prevent VS2010 to create a new binding each time I update a service reference? -


i'm developing winforms client application wcf service in c # 3.5 , visual studio 2010.

every time use "update service reference" in ide, considering have working binding in app.config, additional binding entry generated same name , trailing "1".

my app.config on client side :

<bindings>   <wshttpbinding>      <binding name="wshttpbinding_iissuetracker" closetimeout="00:01:00"... 

after "update service reference", have :

<bindings>   <wshttpbinding>      <binding name="wshttpbinding_iissuetracker" closetimeout="00:01:00"...      <binding name="wshttpbinding_iissuetracker1" closetimeout="00:01:00"... 

so need remove unused binding time.

this driving me nut. there way disable behaviour ?

the way solved move service reference separate library, , delete (newly generated) app.config library project after executing update service reference.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -