Changing all Web Reference Url's in Visual Studio Solution , Possible? -
i have visual studio 2012 solution many projects in it.
these projects consume web-services of them have references web url.
when switch server server , need change of these url's.
i know how dynamically change web references in final app, keep in mind these web services in development environment , modified daily basis , hard change reference url one-by-one in solution.
is there way change solution's web reference url's ?
regards, saeed.
you have dll provides url , projects access dll url. way 1 file needs changing.
the url provided via environment variable, or file in defined directory, each project reads when starts.
the above 2 ideas might combined. have dll reads url somewhere , provides calling project. clever dll might know difference between machines execute tests , choose appropriate url.
there visual studio editor, using menu => edit => find , replace => replace in files.
Comments
Post a Comment