简体   繁体   中英

Building web services and updating client application with MSBuild

I have a solution that contains two projects (web services and client application).

When i built solution, i always need to update Web References manually (web service's proxies).

Is there any way to do it automatically with MSBuild?

You should be able to use svcutil.exe to create the proxy for you. You just have to get all the parameters right.

如果从设计角度来看这对您有意义(您将打破松散的耦合)并且您拥有工具(WCF向导使它更容易实现),则可以通过Contracts DLL共享合同。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM