I have a .net project that has a web reference to a service. I would like to update that web reference as part of every build. Is that possible?
You can use MSBuild script with a task that calls wsdl.exe
<Target Name="UpdateWebReference"> <Message Text="Updating Web Reference..."/> <Exec Command="wsdl.exe /o "$(OutDir)" /n "$(WebServiceNamespace)" "$(PathToWebServiceURL)""/> </Target>
1.4m articles
1.4m replys
5 comments
57.0k users