I want to automate my project's build process. let us assume two projects.
1. web service project
2, Windows/Web project which consumes the web service
as it consumes the local web service project , visual studio attaches it to the dynamic port and updates the web references.
now my problem while automating the build is to get the dynamic url and update the webreferences before the build.

how to automate the build process