My solution cotains the following projects
- A (wcf service)
- B (wcf service)
- foo (references A)
- bar (references B)
If I make a change to A, we have to update the service reference in foo.
The way we have to do this now is to manually start A & B in Visual Studio by going to Debug | Start New Instance so that Cassini starts the service (http://localhost:59445/A.svc), and then go to foo and update the service reference.
I would like to find a way (command line driven preferably) to automatically update the service references in foo and bar. There has got to be a better way of doing this then doing this manually.
Suggestions?
EDIT: I expected to get some "you are doing it wrong!" comments. The reason I need to do this is because we are occasionally adding new features to the services and thus changing the contracts. But an even bigger reason is that we are using DVCS (mercurial) and to make matters worse we are merging from a branch that is running in VS2008 into another branch running VS2010. Every such merge pretty much screws up the VS2010 service references, and its just a heck of a lot easier to update the service references. We have to do this by hand now. It would be much nicer to do it automatically.